Strange things are happening, and I thought I'd do a sanity check here...
I'm working on a project using the 12f675, and it's been going pretty well. But we thought we'd toggle an unused output for debug purposes, so we hooked up an LED through a resistor to GP0 so we could see it.
The light never came on. GP0 is supposed to be able to drive 25 mA, and we should be drawing only 5, so that shouldn't be the problem. But we never see the output go high.
GP1/AN1 is used as a battery monitor (100k/37k5 divider), so we thought we see if we could drive that. It works fine as an analog input, but when configured for output, it pulls to ground, regardless of the state of the output port bit.
We started with clean code that simply configures the I/O, sets the output pins, then drops into a loop that strokes the WDT. Same results. However, GP2, GP4, and GP5 all work exactly as expected.
Anyone else experience anything like this? Any ideas?
Thanks in advance,
-=Dave