An Easy Timer In C Language2
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,794
On Slideshare
1,794
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 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