Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

reaction timer - multiplex inputs

Status
Not open for further replies.
yes i have read the oshonsoft manual but it makes you want to flip the monitor around to see where the "missing" pages are ! LOL.
I have made headway using the datasheets and OSH. timer 1 and timer 2 .
BUT looking forward to your pearls of code - don't mind the wait just very happy that you were able to assist! thank you.

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: 359
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top