hi
from the datasheet of PIC18F4685 for configuring any port as output we have to configure corresponding TRIS high.
but practically follwing problem is being faced
1. corresponding bit becomes high
2. setting one bit as input, it makes all the pins of the same port to behave as input.
3. after sometime when i made the port TRIS = 0, then by default it behaves as bidirectional port.
please tell me where i am wrong?
thnx in advance
from the datasheet of PIC18F4685 for configuring any port as output we have to configure corresponding TRIS high.
but practically follwing problem is being faced
1. corresponding bit becomes high
2. setting one bit as input, it makes all the pins of the same port to behave as input.
3. after sometime when i made the port TRIS = 0, then by default it behaves as bidirectional port.
please tell me where i am wrong?
thnx in advance