#BL602 reading #I2C Register on BME280 ... Hope this works 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L234-L277
#BL602 has an I2C queue of 4 bytes ... So we'll send/receive I2C data 4 bytes at a time with interrupts
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L238-L263
Oops #BL602 needs to trigger an #I2C Receive Interrupt before we read the I2C FIFO Input ... So we should call the BL602 I2C Functions in two steps
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L271-L299
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
Oops #BL602 needs to trigger an #I2C Receive Interrupt before we read the I2C FIFO Input ... So we should call the BL602 I2C Functions in two steps
https://github.com/lupyuen/bl_iot_sdk/blob/i2c/customer_app/sdk_app_i2c/sdk_app_i2c/demo.c#L271-L299