reaction timer - multiplex inputs

Status
Not open for further replies.

hi,
This simple Demo uses the TMR1 interrupt, the count is from the internal cycle time.

The program shows how to use the TMR1 interrupt to call the LCD, UART adc0,adc1.

It will run in OSH, read the text at the program header. When you understand how the program works come back and I will cover the TMR1 and TMR0 interrupts.
 

Attachments

  • LCD_TMR1_intr1.bas
    3 KB · Views: 366
thanks alot!
I will try and create something new - so when we get to tmr0 and 1 then it is easier to follow.

thanks again.

p.s I was thinking of writing a short Tut on using the timer w.r.t. oshonsoft basic (based on what "I" have learnedfrom all of this)- basically this thread and uploading it to the code snippet category?!
Hi,
I have finished a TMR1 interrupt working with an external input, will post withTMR0 when done.
Looking forward to your snippets.
 
Last edited by a moderator:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…