Problem with DT Inst Interrupt + NAP


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: Problem with DT Inst Interrupt + NAP

    Pas de problème.

    Can you:
    - have an external clock IC,
    - save the time on memory,
    - put PIC to sleep,
    - wake up the PIC every once in a while using a 555 timer,
    - check the time elapsed since sleep?

    I'm sure there are simpler ways.

    Robert

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Problem with DT Inst Interrupt + NAP

    I'm not sure if ElapsedTimer supports it but the way to do it, I'd think, is to use the TMR1 oscillator and drive it with an external 32.768kHz clock crystal. That oscillator doesn't stop when the PIC is put to sleep.

    /Henrik.

Similar Threads

  1. Error using DT's Inst Interrupts and PIC BASIC PRO Long
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 6th December 2014, 18:11
  2. NAP vs. SLEEP
    By AvionicsMaster1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th August 2011, 19:47
  3. Nap and sleep commands
    By rusty99 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 27th August 2010, 08:16
  4. DT inst. interrupt & Timer0 with pic 16F88
    By aratti in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th December 2009, 21:23
  5. Sleep & nap
    By keymuu in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 4th December 2008, 18:45

Members who have read this thread : 1

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