DipSwitch


Closed Thread
Results 1 to 17 of 17

Thread: DipSwitch

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    so you should, once again, open the datasheet in the SLEEP section first.

    Have a look at section 14.8 Power-down mode and section 14.8.1 Wake-up from sleep. There, you will discover what can wake-up your PIC
    External RESET
    Watchdog timer
    Interrupt from RB0/INT pin, interrupt on some PORTB pins or peripheral interrupts (comparator, USART... )

    without some change to your hardware... i doubt you'll be able to wake your PIC ONLY if you change some dip switch.

    to turn your PIC in sleep mode only for 5 secondes, you may have a look in the PBP book at SLEEP section.

    SLEEP 5
    I have read datasheet many times.(I don't understand datasheet very well because i don't know english very well)
    I want to wake PIC ONLY if i change one or some dip switch and after 5 seconds to go to sleep again , until if i change one or some dip switch again.
    But i don't know how to write the code.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by savnik
    ....(I don't understand datasheet very well because i don't know english very well).....

    Hi savnik,

    Since you know the difference of using "well" instead of "good", your English seemed very well to me!




    ----------------------------
    Last edited by sayzer; - 5th September 2006 at 18:56.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. PIN state VS Variable read
    By cburtis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th December 2007, 11:54
  2. Dipswitch matrix
    By DynamoBen in forum Off Topic
    Replies: 10
    Last Post: - 8th October 2007, 17: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