Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Tabsoft; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    16,666

    Re: Interrupts and Sleep help 16f818

    Andy,

    You can encase your mainloop code in a Do/Loop While with a test of the WakeupFlag.
    Then when the WakeupFlag is set at timeout, the loop will terminate and you can replace the "GOTO...
  2. Replies
    10
    Views
    16,666

    Re: Interrupts and Sleep help 16f818

    Andy,

    You are correct that your timeout1 test/calculation will fail when the RTC roles over from 59 to 00.
    Also, if for some reason that the execution is delayed you could miss an entire minute...
Results 1 to 2 of 2