Simple "Time-out" routine


Results 1 to 5 of 5

Threaded View

  1. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default ~20 sec hardware timer

    In the attached file, you can use the Timer1 with Interrupts. Just Start Timer1 by setting t1con.0 bit and then either check flag or stop whatevere your are doing in the ISR routine, inside the IF-THEN.

    Thanks to Darrel once again for his DT-INTS.

    Don't forget to include the files in the directory of your code and use MPASM as an assembler.

    Ioannis
    Attached Files Attached Files

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts