liondriver / esp8266 Goto Github PK
View Code? Open in Web Editor NEWESP8266 projects
License: GNU General Public License v3.0
ESP8266 projects
License: GNU General Public License v3.0
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.
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.