BobD
 Guru
 Joined: 07/12/2011 Location: AustraliaPosts: 935 |
| Posted: 06:04pm 31 May 2017 |
|
|
|
Grogs does the voltage on pin 26 hold up when you define it as a digital input? If not then you may have to lower your 4k7 and 6k8 resistors and / or remove the 1k resistor. I don't know what load the PIC has on the line but it may be dragging the signal down more than 0.5 volts.
You can afford to lower your resistors since you are dragging about 40 microamps through the divider. Bob |