Hello everyone! This is my first post here and I am aksi quite new to PICBasic(I started less than a week ago).

I have a few questions to ask but what I would like to ask first is why is this so:

When you declare
Code:
TRISC = 0
and then
Code:
PORTC = 1
why does that make the pin0 of PORTC and output?

because if you do "the same" (atleast for me-as a beginner it is the same)
and declare

Code:
TRISC = %00000001
that makes all of the other pins outputs and this one an input?

so what is the difference? If my question is not clear enough please tell me and I will try to rephrase it.

Thanks for everything, ciro!