Hi RFEFX,
is your OUTPUT AN OUTPUT LOGIC 1,, port A4 on most PIC requires an external pullup and will only switch low(open drain)and will sink current, not supply.Heres problem 1:
PORTA 0,1,2,3,4 are being used as outputs. PORTA.4 can't get it to output.
using PicBasic Pro i have included ADCON1=7 at the top of the program along with TRISA=%00000000
If you have a logic probe or DVM check the port status and the output of encoder, you may need to pull port up or down with resistorsHeres Problem 2:
PORTC 7,6,5,4,3 are used as inputs and are being driven by a Holtek Decoder.
So far PORTC.3 and 4 are the only ones actually working. I have set TRISC=%11111111 at the top of the program.
Bookmarks