1. 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.
    Dismiss Notice

reaction timer - multiplex inputs

Discussion in 'Oshonsoft' started by cybersky, May 30, 2011.

  1. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,189
    Likes:
    644
    Location:
    Ex Yorks' Hants UK
    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.
     

    Attached Files:

  2. cybersky

    cybersky Member

    Joined:
    Apr 1, 2009
    Messages:
    64
    Likes:
    0
    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: Jun 3, 2011

Share This Page