-
Notifications
You must be signed in to change notification settings - Fork 35
ESP32 #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I changed line Line 284 - Wire.end(); // stop i2c bus to send wake up request via digital pins |
I am seeing a similar problem on an ESP8266 board, perhaps this is similar to this issue Arduino: 1.8.12 (Windows 10), Board: "SparkFun ESP8266 Thing, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 512KB (FS:32KB OTA:~230KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200" C:\Users\user\Documents\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::wake()': C:\Users\user\Documents\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp:284:7: error: 'class TwoWire' has no member named 'end' Wire.end(); // stop i2c bus to send wake up request via digital pins
exit status 1 This report would have more information with |
the change on line Wire.endTransmission(true); worked! thanks |
I believe the the hardware driver on the esp32 (in Arduino IDE) is called differently, not sure about an equivalent function... I think it'll be easier to just directly talk to the module but I got this error on compilation:
SparkFunMLX90614.cpp:284:7: error: 'class TwoWire' has no member named 'end'
....
\Users\Lauren\Documents\Arduino\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::wake()':
C:\Users\Lauren\Documents\Arduino\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp:284:7: error: 'class TwoWire' has no member named 'end'
Wire.end(); // stop i2c bus to send wake up request via digital pins
Using library SparkFun_MLX90614_Arduino_Library-master at version 1.0.2 in folder: C:\Users\Lauren\Documents\Arduino\libraries\SparkFun_MLX90614_Arduino_Library-master
Using library Wire at version 1.0.1 in folder: C:\Users\Lauren\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\libraries\Wire
Using library SparkFun_AS726X at version 1.0.3 in folder: C:\Users\Lauren\Documents\Arduino\libraries\SparkFun_AS726X
Using library HX711_ADC at version 1.1.5 in folder: C:\Users\Lauren\Documents\Arduino\libraries\HX711_ADC
Using library EasyTransfer in folder: C:\Users\Lauren\Documents\Arduino\libraries\EasyTransfer (legacy)
exit status 1
Error compiling for board ESP32 Dev Module.
I would add, I'm not even calling the function from my code.
The text was updated successfully, but these errors were encountered: