03-18-2022 01:36 PM
Thsi below is my problem? and i really cant seems to figure out. Please help me thanks 🙂
C:\Users\Min\Documents\Arduino\libraries\Bosch-BSEC2-Library-master\examples\bme68x_demo_sample\utils.cpp: In static member function 'static demoRetCode utils::begin()':
utils.cpp:107:2: error: 'dateTimeCallback' is not a member of 'File {aka FsFile}'
File::dateTimeCallback(dateTime);
^
C:\Users\Min\Documents\Arduino\libraries\Bosch-BSEC2-Library-master\examples\bme68x_demo_sample\utils.cpp: In static member function 'static bool utils::getFileWithExtension(String&, const String&)':
utils.cpp:162:6: error: 'SdFat {aka class SdFs}' has no member named 'vwd'
_sd.vwd()->rewind(); /* resets the position of the directory */
^
utils.cpp:163:27: error: 'SdFat {aka class SdFs}' has no member named 'vwd'
while (file.openNext(_sd.vwd(), O_READ))
^
exit status 1
'dateTimeCallback' is not a member of 'File {aka FsFile}'
03-22-2022 03:18 PM
Please help me
03-24-2022 10:08 AM
Hi Falkenbergo,
Did you refer the readme file on github and compile it with the modification of platform.txt?
https://github.com/BoschSensortec/Bosch-BSEC2-Library
By the way, what is the board you used?
03-28-2022 12:09 PM
Yes i did that.
But i think it doenst matter. i found out using the generic example.
But its still an error.
But another thing is that im quite dissapointed that if you use it to sense something that is not ethanol.. Then if ethanol gets pressent.. It would just say okay thats the other thing. ex if i want to shears smoke from fires.
I think its because the resistanse gets so low. But.. If you have a fix iwould like to know.. Or else the sensor is just not good enough
04-02-2022 08:08 AM
Hi Falkenbergo,
In terms of compilation errors, some dependent libraries are missing because the code calls them. You can install the library and then compile it.
ArduinoJson
RTClib
TinyWireM
SdFat