Return to D1M-WX1 Solar Powered Weather Station
Home › Forums › D1M-WX1 Solar Powered Weather Station › D1M-WX1_IoT-APRS.ino will not compile
This topic contains 3 replies, has 2 voices, and was last updated by Maarten 4 months, 2 weeks ago.
I have completed the pcb construction and set up the thingspeak account and uploaded the data to thing speak
when I enter in my data in the config file for aprs it will not compile.
any suggestions ?
the error message says configoffice.h file is missing
Trying to compile with BME280 library version 2.3.0.
Get the following error:
Arduino: 1.8.5 (Windows 10), Board:”WeMos D1 R1, 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200″
D:\ESP8266\D1M-WX1_Weather_Station_Bethany\D1M-WX1_IoT-APRS_Bethany\D1M-WX1_IoT-APRS_Bethany.ino: In function ‘sensorData readSensors()’:
D1M-WX1_IoT-APRS_Bethany:223: error: no matching function for call to ‘BME280I2C::read(float&, float&, float&, bool, const int&)’
myBME280.read(sp, t, h, true, PRESSURE_UNIT);
D:\ESP8266\D1M-WX1_Weather_Station_Bethany\D1M-WX1_IoT-APRS_Bethany\D1M-WX1_IoT-APRS_Bethany.ino:223:48: note: candidate is:
In file included from C:\Users\mkabb\Documents\Arduino\libraries\BME280\src/BME280I2C.h:33:0,
C:\Users\mkabb\Documents\Arduino\libraries\BME280\src/BME280.h:172:11: note: void BME280::read(float&, float&, float&, BME280::TempUnit, BME280::PresUnit)
C:\Users\mkabb\Documents\Arduino\libraries\BME280\src/BME280.h:172:11: note: no known conversion for argument 4 from ‘bool’ to ‘BME280::TempUnit’
exit status 1
no matching function for call to ‘BME280I2C::read(float&, float&, float&, bool, const int&)’
Can somebody tell me what I have done wrong?
After changing to BME280 library version 2.1.4 (instead of 2.3.0) I was able to compile. Now I have to figure out what the changes are.
You must be logged in to reply to this topic.
Permanent link to this article: https://w4krl.com/forums/topic/d1m-wx1_iot-aprs-ino-will-not-compile/
© 2018 IoT Kits.
Made with by Graphene Themes.