flipper_md
>>well, I went around trying pretty much every combination possible...

TRISIO = %101100 <font color=red>= Ports 2,3,5 AS INPUTS 0,1,4 as outputs</font color>
GPIO = %100001 GPIO sets ports high or low if outputs, not if inputs. . . .

TRISIO = %101100
GPIO = %000001

TRISIO = %001100 Here port.5 is an output, 2-3 as inputs
GPIO = %000001 Port zero is output high

TRISIO = %101100
GPIO = %000000

there's just no way to turn on a LEd on that GPIO.5

reading the spec sheet, it's a TLL cmos like all other ports... I can't see the missing link :<


any working code that use that port as digital IO?

http://ww1.microchip.com/downloads/e...Doc/41211C.pdf