Hello,
If I set pull up resistors in port b, can I just toggle from 5V to ground by setting port bit to 0, and toggle trisb ??
When bit set in trisb, it is an input, high impedance and pull up resistors makes 5V.
When bit clear in trisb, it is an output, and as portb holded 0, it is grounded.
Is this correct??
If I set pull up resistors in port b, can I just toggle from 5V to ground by setting port bit to 0, and toggle trisb ??
When bit set in trisb, it is an input, high impedance and pull up resistors makes 5V.
When bit clear in trisb, it is an output, and as portb holded 0, it is grounded.
Is this correct??