| 전자부품 데이터시트 검색엔진 |
|
DFR0505 데이터시트(PDF) 17 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0505 데이터시트(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); |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |