Microchip AN615


Results 1 to 18 of 18

Thread: Microchip AN615

Threaded View

  1. #10
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136


    Did you find this post helpful? Yes | No

    Post

    Can anyone give me a piece of code that can do the time keeping in PICBASIC without using interrupts ? ? ? Even if it just detects the roll-over and polls a flag, it'll do...
    I wrote a PICBASIC code for a digital clock without interrupts.
    No matter what prescaller i select, the clock runs 3 times slower.
    I check the timer roughly every 50 instructions for a roll-over (By checking the MSB). . .
    When i enable interrupts for the same code with same prescaler, it works fine.
    Last edited by shahidali55; - 7th November 2006 at 16:35.

Similar Threads

  1. Microchip Code Issues
    By Destovi in forum General
    Replies: 4
    Last Post: - 20th March 2008, 13:32
  2. PBP is no longer a stranger to Microchip
    By MarioC in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th March 2008, 22:59
  3. Microchip Ethernet controllers
    By Philip in forum Documentation
    Replies: 23
    Last Post: - 2nd November 2007, 01:30
  4. Replies: 1
    Last Post: - 22nd June 2007, 00:57
  5. Microchip PIC silicon Revs's
    By fbraun in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st March 2005, 15:07

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