Old issue, New question, pullups
I need a BUSY Status line on my RS485 comm. Using a 16f886 I have RB1 available for use. Because of distance from Master to Slave I think I need a pullup resistor on my BUSY line. I thought I knew how this should work but I am mistaken.
10k pullup to 5v
My intent was to go from high to low on the BUSY line by the Toggling TRISB.1 from 0 to 1. However With TRISB.1=1, RB1 is high and with TRISB.1=0, RB1 is pulling the line low.
My understanding was that with TRISB an Output, RB1=0 would NOT be able to sink. But that is exactly what is happening.
Can someone explain this to me?