Port 'a' problems


Results 1 to 15 of 15

Threaded View

  1. #1
    Join Date
    Jul 2007
    Posts
    18

    Question Port 'a' problems

    I am writing a very simple (theoretically) string of code to flash some LED's in a variety of patterns on a 12 segment bar graph. I am using a 16f628a. Port b outputs are a ok and working a treat. As you can see by lines 4 & 5 I have set my 'a' ports as standard I/O (or so I thought). However whenever I try to set two 'a' ports high at the same time only one will go high.

    Does anyone know how to make the 'a' ports on a 16f628a act like normal old good old 84a I/O ports.

    I have attached the code and a pinout for the Bargraph. Please ignore the fact that the first loop excludes any following code from being run--this loop is a late edition for debugging only.
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by Robotica1; - 14th July 2007 at 14:06. Reason: Trying attachments

Similar Threads

  1. port config.
    By tamertokgoz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th July 2008, 12:25
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  3. Notebook Com Port win2k problems
    By folkc in forum Serial
    Replies: 4
    Last Post: - 20th February 2006, 16:16
  4. STATUS re-curtain W
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th February 2005, 15:21
  5. Port pin problems
    By sgreelish in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th March 2004, 18:56

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