Discussion forum for the BasicX family of microcontroller chips.
|
Hello. how can i use timer0 to generate an interupt for a task periodically? The timer will be used as a free running ticking device and when a I/O line goes high it will start a counter. Based on how many ticks the counter has accumulated will give the high going pulsewidth. what i plan to do is when the timer ticks that will activate the task and poll a I/O port and determine if any I/O lines are a logic 1 and that will start the timer. Thanks, Kevin J |