INCLUE for continuous clock


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    The ASM routine assumes that the time variables are in BANK0.

    If the program has grown in size, there may be more variables which push i_hour, i_minu, i_sec and i_tic into a different Bank.

    Adding BANK0 modifiers to the variable declarations may help, but it's a long shot without knowing the rest of the code.
    If the variables are still in BANK0, I see no reason why it shouldn't work with a 16F877A.
    Code:
    i_hour var BYTE BANK0
    i_minu var BYTE BANK0
    i_sec  var BYTE BANK0
    i_tic  var BYTE BANK0
    DT

  2. #2
    Join Date
    Nov 2005
    Location
    Newcastle, Australia
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Darrel,
    Thanks mate for your quick reply.
    I will give your suggestion a go and get back to you.
    cheers
    Woodzy

  3. #3
    Join Date
    Nov 2005
    Location
    Newcastle, Australia
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Darrel,
    Thankyou sir,
    your advice worked a treat. ticking away happily now.
    cherss
    Woodzy

Similar Threads

  1. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 09:42
  2. UberNewbie can't set his clock...
    By Byte_Butcher in forum General
    Replies: 19
    Last Post: - 7th January 2009, 05:22
  3. EM4095 Chip, get Clock and Data signals?
    By mindthomas in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 19th August 2008, 07:27
  4. Shiftout/in
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd August 2007, 12:48
  5. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 21:36

Members who have read this thread : 0

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

Posting Permissions

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