Code Monkey home page Code Monkey logo

esp8266's People

Contributors

liondriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

esp8266's Issues

Error Compiling bmp280_thingspeak

I` get the error below while trying to compile bmp280_thingspeal.ino

Arduino:

1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "WeMos D1 R1, 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 921600"

C:\Users\andre\Documents\Arduino\esp8266\ESP8266-bme280\bmp280_thingspeak\bmp280_thingspeak.ino: In function 'void loop()':

bmp280_thingspeak:69: error: no matching function for call to 'BME280I2C::read(float&, float&, float&, bool&, uint8_t&)'

 bme.read(pres, temp, hum, metric, pressureUnit);            // Parameters: (float& pressure, float& temp, float& humidity, bool celsius = false, uint8_t pressureUnit = 0x0)

                                               ^

C:\Users\andre\Documents\Arduino\esp8266\ESP8266-bme280\bmp280_thingspeak\bmp280_thingspeak.ino:69:51: note: candidate is:

In file included from C:\Users\andre\Documents\Arduino\esp8266\ESP8266-bme280\bmp280_thingspeak\bmp280_thingspeak.ino:1:0:

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

void read(

       ^

C:\Users\andre\Documents\Arduino\libraries\BME280\src/BME280.h:172:11: note: no known conversion for argument 4 from 'bool' to 'BME280::TempUnit'

bmp280_thingspeak:70: error: 'class BME280I2C' has no member named 'alt'

 float altitude = bme.alt(metric);

                      ^

bmp280_thingspeak:71: error: 'class BME280I2C' has no member named 'dew'

 float dewPoint = bme.dew(metric);

                      ^

exit status 1
no matching function for call to 'BME280I2C::read(float&, float&, float&, bool&, uint8_t&)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.