websnik / bme280 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sylaina/bme280
Using BME280 sensor from Bosch at AVR mikrocontrollers like Atmega328p
License: GNU General Public License v3.0
This project forked from sylaina/bme280
Using BME280 sensor from Bosch at AVR mikrocontrollers like Atmega328p
License: GNU General Public License v3.0
# bme280 Using BME280 sensor from Bosch at AVR mikrocontrollers like Atmega328p This Library allowed you to use BME280 to sense temperature, pressure and humidity with AVR microcontroller like Atmega328. For communication with the BME280 I'll use my own I2C library (settings for I2C in i2c.h). Default settings for sensor are: standby-time: 250 ms iir-filter: 8x temperature oversampling: 16x pressure oversampling: 16x mode: normal If you want to change this settings edit bme280.h (look at /* TODO:...). examble source-code: /*************BME280 examble*************/ #include <stdlib.h> #include "bme280.h" int main(void){ // variables for sensor values float temperature = 0.0; float pressure = 0.0; float humidity = 0.0; // init sensor bme280_init(); // read values temperature = bme280_readTemperature(); // in °C pressure = bme280_readPressure()/100.0; // in mbar humidity = bme280_readHumidity(); // in % for(;;){ // main-loop } return 0; // never reached } For Arduino-Users: Remember that this library is a c-library. Type extern "C"{ #include "lcd.h" } for include.
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.