Return to D1M-WX1 Solar Powered Weather Station

D1M-WX1_IoT-APRS.ino will not compile

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 Kabbedijk Maarten 4 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1270
    robert gebeaux
    bob
    Participant

    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 ?

    bob ka3ocs

    #1271
    robert gebeaux
    bob
    Participant

    the error message says configoffice.h file is missing

    #1340
    Maarten Kabbedijk
    Maarten
    Participant

    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,

    from D:\ESP8266\D1M-WX1_Weather_Station_Bethany\D1M-WX1_IoT-APRS_Bethany\D1M-WX1_IoT-APRS_Bethany.ino:45:

    C:\Users\mkabb\Documents\Arduino\libraries\BME280\src/BME280.h:172:11: note: void BME280::read(float&, float&, float&, BME280::TempUnit, BME280::PresUnit)

    void read(

    ^

    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?

    #1341
    Maarten Kabbedijk
    Maarten
    Participant

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

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/