An Easy Timer In C Language2 - Presentation Transcript
An easy timer in C language file:///C:/Documents%20and%20Settings/Emanuele/Desktop/51711.htm
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
0 comments
Post a comment