An Easy Timer In C Language

6,272 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
6,272
On SlideShare
0
From Embeds
0
Number of Embeds
18
Actions
Shares
0
Downloads
96
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

An Easy Timer In C Language

  1. 1. An easy timer in C language http://dev.emcelettronica.com/print/51711 Your Electronics Open Source (http://dev.emcelettronica.com) Home > Blog > arag61's blog > Content An easy timer in C language By arag61 Created 15/03/2008 - 10:48 BLOG A good exercise for a beginner is to implement a module that pretends a timer. To do this we have used the following functions that already exist in C library: delay() – suspends execution for interval [ milliseconds ] ( defined in DOS.H ) kbhit() – checks for currently available keystrokes ( defined in CONIO.H ) printf() - outputs a formattes message to video. (STDIO.H) clrscr() – clears text mode window ( defined in CONIO.H ) Below there is the module code : #include <stdio.h> </stdio.h>

×