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.
Bookmarks