calibadc seems to screw up port C.7 on 20M2

neiltechspec

Senior Member
Title says it all really.

I'm using a 20M2 driving two 7 seg Common anode displays directly through 470 ohm resistors to limit current to approx 5 mA per port.

Units digit on port B & Tens digit on port C, so port C.7 has segment 'G' on my tens digit.

Driving the ports low turns on the individual segments. All works fine until I do a calibadc or calibadc10, after which port C.7 will no longer go low.

Issuing another dirsC = %10111111 does correct the problem but does mean seg 'G' flickers annoyingly.

Anybody else seen this ?

Neil
 
Top