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]
Hello. I know there is a library for BME280 via SPI, but most recent modules are I2C only. Is there a way to adapt that code to I2C bus? 9752 I asked AI to generate code for I2C, but it won't...
That was my original goal, to reduce cost, complexity and real estate. I gotta admit, PPS, was a neat bonus. I was truly impressed with the 16F18877.
to get away from all the needless 7416 chips plus the flexibility of pps as a bonus https://www.picbasic.co.uk/forum/images/icons/icon7.png
I know that now. The 74HC14 with Bourns' debounce was doing very well. I'm rewiring that back in now to redo testing.
That is a false assumption, all the IOC flag says is that a edge was detected, you need way more info to determine if it was a valid key press, at a minimum you need to know if its still "active"...
I have 0.1uF on VDD/VSS pins, 0.1uF on the switch input pins and 0.01uF on the encoder input pins; all ceramic caps. That's what the IOC flag was used for; to check if a button was...
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.
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...
loop:
BME280 via I2C?
Hello.
CuriousOne Yesterday, 17:35I know there is a library for BME280 via SPI, but most recent modules are I2C only. Is there a way to adapt that code to I2C bus?
9752
I asked AI to generate code for I2C, but it won't...