Stop the pic working


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    many thanks melanie but i've just did the same. In that way the pic is always ON. I'd want to put the pic in low power mode when the input goes high and then, when the input returns low, wake up the pic in order to resume his work

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    @ SLEEP

    will do the job.

    Now depending the PIC you're using, you need to be check which i/o can wake the PIC.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jul 2007
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    i'm using 16f628a

    can you make me an example for the sleep?

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sgufa View Post
    i'm using 16f628a

    can you make me an example for the sleep?
    main:
    @ SLEEP
    end

    And judging from your other few posts...are you using PicBasicPro or Proton Basic?
    Last edited by skimask; - 7th July 2007 at 05:55.

  5. #5
    Join Date
    Jul 2007
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    I imagined that

    but i mean an example with the routine for sleep and awake on input HI/lo

    P.S. I use proton+ picbasic v3

  6. #6
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Then you are in the wrong forum.
    http://www.picbasic.org/forum/
    is then a better forum for you.

  7. #7
    Join Date
    Jul 2007
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    assuming that Basic is always Basic if anyone is so gentle in showing me how to make my goal, i think I'm able to "port" the code from picbasicpro to proton...

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. PIC powered by capacitor for 0,5 second
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 25th August 2007, 09:23
  3. VB sending serial data to PIC
    By Tissy in forum Serial
    Replies: 7
    Last Post: - 8th March 2006, 18:31
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. 256 Pics Communicate to 1 Master Pic
    By mazlan in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th July 2004, 13:11

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