Can't get RC2 to go high with PORTC.2 = 1


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Question

    Hi, Jellis


    I'd appreciate A look to this part of the scheme !

    Alain
    Last edited by Acetronics2; - 9th September 2009 at 11:47.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Schematic enclosed

    Alain, thanks for the reply. I tested the code again watching closely for the 5 sec pause and notice strangely that it never does pause for 5 secs. This really puzzles me. Any ideas why this would happen?

    Quote Originally Posted by Acetronics View Post
    Hi, Jellis
    I'd appreciate A look to this part of the scheme !
    Alain
    Am enclosing a partial schematic that shows how RC3 is interfaced to a SPST relay that controls power from the battery to another single stable DPDT relay, which switches the power between two polarity switched outputs, to SOL_RED when RC2 is not energized and to SOL_BLK when RC2 is energized. My problem is that RC2 is never going high by the code so the DPDT relay never energizes into the SOL_BLK output state.
    Attached Images Attached Images  

Similar Threads

  1. Free Project - 245 LED Display
    By T.Jackson in forum Code Examples
    Replies: 221
    Last Post: - 16th August 2009, 05:59
  2. Using Sleep
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th August 2008, 05:05
  3. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 01:55
  4. code conversion
    By saturnX in forum mel PIC BASIC
    Replies: 19
    Last Post: - 3rd October 2005, 18:17
  5. New member
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 28th February 2004, 23:44

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