Can't make RA1 a digital Input on (10 out of 20) 16F887.


Results 1 to 17 of 17

Threaded View

  1. #16
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Can't make RA1 a digital Input on (10 out of 20) 16F887.

    Code:
    %000000010
    %00000010
    They are both the same number.

    Google RA1 Digital, and you can see the pain!

    if portA are all digital inputs, what value do you get reading portA into a byte?
    Code:
    byte = PORTA;
    What happens if you do this:
    Code:
    HIGH PORTA.0
    PAUSE 250
    LOW PORTA.0
    PAUSE 250
    So that portA isn't powering an LED while A1 is being read?
    Last edited by Art; - 11th October 2013 at 06:25.

Similar Threads

  1. 16f887 portc input problems
    By lockjawz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st March 2011, 15:02
  2. Replies: 2
    Last Post: - 1st May 2009, 09:23
  3. Really slow digital input
    By mbw123 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 30th March 2007, 05:06
  4. 18F4550 digital input
    By mbw123 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 29th March 2007, 03:43
  5. Replies: 2
    Last Post: - 5th June 2005, 20:55

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