Spooky thing happened the other day. I was pretty tired, so I figured it was a coincidence. Kept trying over and over - same results. Tried again just now, same results.
I made a really simple program and flashed it to my Junebug's 18F1320, just to test this out.
The program has some LEDs on solid when input low, and on high they start flashing and the rest come on solid.
They start flashing when my finger approaches the switch.
Any of the switches. But they're brighter if it's the correct switch.
I tested this several times to make sure I wasn't seeing things. Then I noticed something even weirder:
If I actually press the switch, they all go off. Nothing in my program should cause that. Not even EMF would explain that as far as I'm aware.
Same results if I grounded myself (crudely, by holding a nearby PC). Same results with several different (but simple) programs.
Unless these are some funky type of switch I don't know about, I have no idea what's going on.
Grateful for any input.
I made a really simple program and flashed it to my Junebug's 18F1320, just to test this out.
The program has some LEDs on solid when input low, and on high they start flashing and the rest come on solid.
They start flashing when my finger approaches the switch.
Any of the switches. But they're brighter if it's the correct switch.
I tested this several times to make sure I wasn't seeing things. Then I noticed something even weirder:
If I actually press the switch, they all go off. Nothing in my program should cause that. Not even EMF would explain that as far as I'm aware.
Same results if I grounded myself (crudely, by holding a nearby PC). Same results with several different (but simple) programs.
Unless these are some funky type of switch I don't know about, I have no idea what's going on.
Grateful for any input.