You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm not sure. This is true issue or just my side issue.
I use PIC 18F27K42 contorler to utilize this BME680. And I refered examples/forced_mode)/forced_mode.c as main routine.
However this forced_mode.c could not operate well.
For my hardware with PIC, I use bme68x_defs.h, bme68x.h and bme68x.c without any change. On the other hand, I also utilize examples/common/common.h and examples/common/common.c.
I know I need to modify common.c to fit with my hardware. I don't use or ignore coins related routine. I modified I2C related function, delay and bme68x_interface_init. I suppose I could put correct modification without coins related functions.
I expected forced_mode.c shows SAMPLE_COUNT times. However, data from BME680 looks strange. Only temperature looks OK but humidity shows always 100%.
After investigating on my side, I found when I put both bme68x_set_heatr_conf and bme68x_set_conf function into while loop, then I could get correct value from BME680. Thus now I can use BME680 with PIC. But I don't know this information and/or method is correct or not.
Both functions are needed to get correct informaion on my system. If I put either function from while loop, I could not find correct value from BME680.
Thanks,
The text was updated successfully, but these errors were encountered:
Hello,
I'm not sure. This is true issue or just my side issue.
I use PIC 18F27K42 contorler to utilize this BME680. And I refered examples/forced_mode)/forced_mode.c as main routine.
However this forced_mode.c could not operate well.
For my hardware with PIC, I use bme68x_defs.h, bme68x.h and bme68x.c without any change. On the other hand, I also utilize examples/common/common.h and examples/common/common.c.
I know I need to modify common.c to fit with my hardware. I don't use or ignore coins related routine. I modified I2C related function, delay and bme68x_interface_init. I suppose I could put correct modification without coins related functions.
I expected forced_mode.c shows SAMPLE_COUNT times. However, data from BME680 looks strange. Only temperature looks OK but humidity shows always 100%.
After investigating on my side, I found when I put both bme68x_set_heatr_conf and bme68x_set_conf function into while loop, then I could get correct value from BME680. Thus now I can use BME680 with PIC. But I don't know this information and/or method is correct or not.
Both functions are needed to get correct informaion on my system. If I put either function from while loop, I could not find correct value from BME680.
Thanks,
The text was updated successfully, but these errors were encountered: