outpins c.0

Hansen

Member
Hi

I have try a lot, and can see how to do set 1 bit high and low on C.0 on a picaxe 20x2

rest of the C port is input

this is not possible ========== outpinsC.0 =1


this is my I/O mask

dirsB=%11111111
dirsC=%00000001
 
Last edited:

hippy

Ex-Staff (retired)
Being named DIRSx not TRISx is a strong hint that they are not the same, but I accept it can be easy to confuse the two if also using PICmicro.

For DIRSx, the default is 0, and that's an input, 1 is non-default and that is output.
 
Top