BiPOM Forum

General => Microcontroller Development Systems => 68HC08 Development Tools => Topic started by: houman on July 09, 2003, 07:01:33 am

Title: Using the Timer Hardware
Post by: houman on July 09, 2003, 07:01:33 am
hi...
i need help on implementing a timer on the Min-Max/51 micro-controller.  Specifically what i like to do is to implement a timer that will terminate a program after a pre-specified time has elapsed.  My existing program waits for user input.  i want the program to terminate if there was no user entry after sometime and go back to its listening mode.
i\'m new to this so any help will be greatly appriciated.

thanks in advance,

Houman

Hivva Technologies
Ottawa, Ontario
(613)592-4407 ext. 15
Title: Re: Using the Timer Hardware
Post by: Oz on October 14, 2003, 06:53:33 am
There are example timer projects that come with the 8051 Development System ( http://www.bipom.com/8051dev.htm ). These are called int0 ( assembly example ) and int51 ( C example ).
These examples for C Compiler.

For Basic ( http://www.bipom.com/bascom.htm ), there are also timer examples:  

timer0
timer2
timer2a
timer2b
timer2c

 
Title: Re: Using the Timer Hardware
Post by: jackzxcasd on September 29, 2011, 04:29:01 am
There are example timer projects that come with the 8051 Development System