serin2/serout2


Closed Thread
Results 1 to 15 of 15

Thread: serin2/serout2

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest

    Default

    Looks like a lot more switches than just PortB.3...

  2. #2

    Default

    yes, you are correct but when I deleted them all but that one for testing, well you understand. Anyhow I am back to the original will porta serpin and the switch on portb, all seems well, BTW, about using MCLR and WDT when I set the config bits, other than the PBP manual that basically says to pull the MCLR high with a 4.7k what determines when to use it and I read here on the form PBP by default keeps clearing the watchdog, but also when should I be using that. Skimask, please don't say read the manual because page 8 says in general it should be on. I would like to know where I can find more specifics.

    Thanks for your help and time Skimask

  3. #3
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by tazntex View Post
    yes, you are correct but when I deleted them all but that one for testing, well you understand. Anyhow I am back to the original will porta serpin and the switch on portb, all seems well, BTW, about using MCLR and WDT when I set the config bits, other than the PBP manual that basically says to pull the MCLR high with a 4.7k what determines when to use it and I read here on the form PBP by default keeps clearing the watchdog, but also when should I be using that. Skimask, please don't say read the manual because page 8 says in general it should be on. I would like to know where I can find more specifics.
    I will say read the manual...and the PIC datasheet.
    PBP clears the WDT by inserting CLEARWDT instructions at strategic points in the code (i.e. whenever it can).
    The watchdog timer is for code that 'runs off by itself'. If the code gets stuck in a loop that doesn't have a CLEARWDT timer command, it'll get stuck by itself doing nothing.
    If you've got a WDT, after X seconds, the PIC will reset itself and at least do something.
    MCLR - turn it off if you want another pin, simple as that.

  4. #4

    Default

    LOL, I was expecting that, Thank you again for clearing that question up for me. I sure hope that by now you realize that I do read the manual and the datasheet and google etc.., maybe I don't understand what I have read, but a lot of us here are learning from scratch and not someone that says "just give me the code". again, thank you

Similar Threads

  1. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 20:02
  2. Serin2/Serout2 Question
    By scottl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th November 2007, 09:11
  3. Help SERIN2/SEROUT2
    By mike20200 in forum mel PIC BASIC
    Replies: 3
    Last Post: - 5th September 2007, 06:19
  4. Serin2/Serout2 PIC 2 PIC
    By actionplus in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2004, 06:46

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