PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Apr 28, 2006 2:21 pm |
|
|
That's one way to do it. An easier way is to get rid of the #fast_io()
statement and use the CCS pin i/o functions, such as output_low,
output_high, input(), output_float(), output_a(), input_a(), etc.
In standard i/o mode, the compiler will automatically set the correct TRIS
for you. Standard i/o mode is the default mode of the compiler. You
don't have to specify it. |
|