Hello Unregistered ,
Hello, thank you for visiting the picbasic users forum. Just a little note to remind you that, if your have registeted for a user account and you have not logged in and posted a message, unused accounts are deleted from time to time.
We track user account usage. As part of our general maintenaince and to meet the GDPR requirments, we have elected to delete user accounts that are unused.
We define unused as:
NOT haveing ever posted a message on the forum
AND
NOT having logged in for more than 360 days.
If you find that your account is deleted, because of inactivity, you will need to contact the forum administrator to have the account re-instated. email: [email protected]
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.
IOC_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
I'm working on a piece of code I found in another thread about a DS3231 RTC. Unfortunately, the used I2CWRITE command has an optional label to jump to. I don't get what the label is there for....
The timings depend on the type of LCD controller. Ususally the defaults of the manual are OK in most cases. As Darrel stated they are not optional and should always be on the top of the program. ...
loop:
Re: IOC flag triggered when PIC is unplugged...?
I'm certain it has something to do with voltage levels as the PIC loses power.
Demon Yesterday, 18:54IOC flags are randomly triggered when VDD is cut with a switch, but not on MCLR.
Values are READ from DATA at PIC...