Thanks for the fast reply but I still don't think I quite understand it.
So using PORTC = 1 sets the pin0 of PORTC to output physically but using TRISC = %11111110 doesnt?
I mean why is TRIS used anyway if you have PORT to control the same things?
And why if you use TRISC = 0(which makes all of the PORTC pins outputs) and then PORTC = 1 only makes that one pin an output if you have already previously stated that all of the PORTC pins are outputs with TRISC?(if you know what I mean)
And why is 0 used as an output with TRISC and 1 with PORTC(I think)?
Thanks again for your efforts! I really do appreciate it,
ciro
Bookmarks