Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    19
    Views
    21,993

    Re: Working clock example using 32K watch crystal

    If I may suggest, make the minutes and hours update in your main loop and not in Interrupt. A temp variable wll be needed for this.

    Ioannis
  2. Replies
    19
    Views
    21,993

    Re: Working clock example using 32K watch crystal

    I think you have to change the <>0 to =0 when you test for the modulo 4.

    A better solution to cover more years (you code will not cover year 2100) is to use mod 400, mod 100 and mod 4 to test for...
  3. Replies
    19
    Views
    21,993

    Re: Working clock example using 32K watch crystal

    How about using 3 If-Then's insead of one with 3 OR's?

    Ioannis
Results 1 to 3 of 3