I'm trying to configure pins 5-7 on port C as totem-poles with pullup resistors. They're pulled low one at a time by a 1P3T switch. It seems to me that, until pulled low, each should read high, but as you can see in the attached screen grab (1.jpg) from AS 4.19, PORTC.OUT 5-7 are all high, but PORTC.IN 5-7 are all low. This stays the same regardless of switch position. The voltage read on these pins is .6V at the CPU, which also seems odd since VCC = 3.3V.
I do have an 8-bit level translator between the switch and the CPU, so there could be a problem with it, but the other 5 bits (connected to other stuff) are translating correctly. On the other hand, I'm not using pullups on the other bits.
Also, port E (which only has 4 bits) works fine when configured identically with pullups (as you can see in the screen grabs), but there's no level translator on it (see second screen grab, 2.jpg, taken one instruction after the breakpoint).
I'm hoping there's some other issue I should explore that won't require me to replace the translator. Any thoughts? Thanks.
PS - You may have to open the jpgs in another tab or window for them to be big enough to read.