A
Andrew Holme
- Jan 1, 1970
- 0
Danny said:Wha?! :-\
I know about weak pull-ups for inputs, but didn't realise there was
anything for outputs...
Nope.
I've checked the datasheet (PIC12F629) re Q2, and can't find any
mention of what you suggest - aand weak pull-ups it says are for
inputs, and are disabled for outputs...
If I tie the inputs high (to Vdd), instead of leaving them unconnected
(with pull-ups, they're high anyway), the voltage on both output pins
doubles when high (around .6 and 1.19)
I'm *totally* confused!
I think Anthony has spotted the problem. You're switching the outputs on
and off in a loop! Your meter is reading the average value of a
high-frequency square wave.