Author Topic: Using the Timer Hardware  (Read 9955 times)

houman

  • Guest
Using the Timer Hardware
« 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

Oz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Using the Timer Hardware
« Reply #1 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

 

jackzxcasd

  • Guest
Re: Using the Timer Hardware
« Reply #2 on: September 29, 2011, 04:29:01 am »
There are example timer projects that come with the 8051 Development System