I am going to use the flexBASIC part of flexGUI, and I am considering trying to get the BME680 C code to work with, that is available form SimpleIDE.
Now the part that is a little confusing is how do I get the code that is in BME680.h to work with flexBASIC.
The BME680.h file has some 'typedef struct' that contain things like 'i2c *i2c_ptr', and spi. Now I am not sure how or where the i2c comes from or does flexBASIC have is own version of i2c/spi. I guess I need some guidance as to what the best approach for doin this, would be.
I will try to get this thing to run on the P1, and than hopefully transfer the code to the P2, to see hoe the P2 handles it.