| Electronic Components Datasheet Search |
|
DFR0505 Datasheet(PDF) 17 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0505 Datasheet(HTML) 17 Page - DFROBOT |
|
17 / 20 page ![]() * @copyright [DFRobot](http://www.dfrobot.com), 2016 * @copyright GNU Lesser General Public License * * @author [yangyang] * @version V1.0 * @date 2017-7-5 */ #include <DFRobot_BME280.h> #define SEA_LEVEL_PRESSURE 1013.25f #define BME_CS 10 DFRobot_BME280 bme; //I2C float temp, pa, hum, alt; void setup() { Serial.begin(115200); // I2c default address is 0x76, if the need to change please modify bm e.begin(Addr) if (!bme.begin()) { Serial.println("No sensor device found, check line or address!"); while (1); } Serial.println("-- BME280 DEMO --"); } void loop() { temp = bme.temperatureValue(); pa = bme.pressureValue(); hum = bme.humidityValue(); alt = bme.altitudeValue(SEA_LEVEL_PRESSURE); |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |