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
and thenCode:TRISC = 0
why does that make the pin0 of PORTC and output?Code:PORTC = 1
because if you do "the same" (atleast for me-as a beginner it is the same)
and declare
that makes all of the other pins outputs and this one an input?Code:TRISC = %00000001
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!
Bookmarks