I m using the 16f916 and for some reason the ports c.0,c.1,c.4 are not working as outputs and c.5 is not working as a input, but c.3,6,7 are working fine and I tried different chips to make sure it was not the chip itself?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I m using the 16f916 and for some reason the ports c.0,c.1,c.4 are not working as outputs and c.5 is not working as a input, but c.3,6,7 are working fine and I tried different chips to make sure it was not the chip itself?
i got part of it fingured out but not all. if I use this code:
#chip 16F916, 4 'mhz
#config OSC=INTOSC, MCLRE=off, WDT=off
dir portc.1 out ' red
dir portc.2 out ' grn
dir portc.3 out ' red
dir portc.4 out ' grn
start:
set portc.1 on ' red
set portc.3 on ' red
set portc.2 on ' grn
set portc.4 on ' grn
goto start
the c.3 and c.4 work but c.1 and c.2 do not they stay low?