16F684 and RA2


Closed Thread
Results 1 to 2 of 2

Thread: 16F684 and RA2

  1. #1
    Join Date
    May 2009
    Location
    USA
    Posts
    16

    Default 16F684 and RA2

    Hello, I've been working with my new programmer and pic chips and all is well except for RA2 being an input. I've been reading the data sheet and the only thing I see different for this input is it is labeled "ST" as compared to "TTL" like the rest of the inputs what does this mean? When I push the button for PortA.0 and PortA.1 the respective lights turn on, but not when PortA.2 is pushed. I have a weak pull down resistor in between each switch, if I remove the resistor for RA2 it works fine.

    Code:
    
    Loop:  
    portc.0 = porta.0
    portc.1 = porta.1
    portc.2 = porta.2
    
    
    Goto loop
    Why is the email address verification case sensitive?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

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