mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-24 01:03:23 +00:00
esp32 temperature node
This commit is contained in:
@@ -56,7 +56,7 @@ void app_main(void)
|
|||||||
bme280 = bme280_create(i2c_bus, BME280_I2C_ADDRESS_DEFAULT);
|
bme280 = bme280_create(i2c_bus, BME280_I2C_ADDRESS_DEFAULT);
|
||||||
bme280_default_init(bme280);
|
bme280_default_init(bme280);
|
||||||
|
|
||||||
bme280_set_sampling(bme280, BME280_SAMPLING_1X);
|
bme280_set_sampling(bme280, BME28_0SAMPLING_X1);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user