Ceramic bypass/decoupling capacitors are often better .
a particularly bad practice, you should always check that it was an actual keypress [ in that was held for a definitive time] before...
I'm certain it has something to do with voltage levels as the PIC loses power.
IOC flags are randomly triggered when VDD is cut with a switch, but not on MCLR.
Values are READ from DATA at PIC...
These are pushbuttons, not rotary encoders with wonky shafts that can jitter whenever the cat farts.
Demon Yesterday, 16:22IOC_COM1_Swap_flag var IOCAF.4
IOC_COM2_Swap_flag var IOCCF.1
IOC_NAV1_Swap_flag var IOCBF.5
IOC_NAV2_Swap_flag var IOCBF.2
These, at random.
Only IOC was...
i guess it begs the questions
what ioc flags were triggered ?
what pins had any ioc functions active?
16F18877
Any idea why it would do that?
The PIC is running normally, and then the IOC flags get set when I pull the USB cable on the MeLabs programmer (or unplug the header).
I know my...
(In case it helps someone avoid wasting hours looking why a program locks)
RETURN at the end of your interrupt will compile, but it will return to Mars or some such distant place.
Exactly what is writen in manual :D
I2C Slave send 1 bit response after each byte received. If that bit is missing, then command will jump to label. If label is not present, it will just ignore it,...
I didn't mean the speeds, I mean not noticing they were no longer Defines, but Variables and Constants.
I would have spent countless hours looking at my code. :D
Re: IOC flag triggered when PIC is unplugged...?
I have 0.1uF ceramic caps on VDD/VSS pins, and 0.01uF on the I/O pins.
Demon Today, 03:26That's what the IOC flag was used for; to check if a button was activated. If I'm going to have to check if a key has...