mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-29 11:18:54 +00:00
esp32 temperature node
This commit is contained in:
@@ -7,23 +7,8 @@
|
|||||||
Modified: October 4, 2025
|
Modified: October 4, 2025
|
||||||
|
|
||||||
|
|
||||||
Adopted from i2c - Simple example
|
Sensor device uses BME280 to measure temperature, pressure and humidity and
|
||||||
|
outputs it to the serial port and publishes values to the MQTT topics.
|
||||||
Simple I2C example that shows how to initialize I2C
|
|
||||||
as well as reading and writing from and to registers for a sensor connected over I2C.
|
|
||||||
|
|
||||||
The sensor used in this example is a MPU9250 inertial measurement unit.
|
|
||||||
|
|
||||||
For other examples please check:
|
|
||||||
https://github.com/espressif/esp-idf/tree/master/examples
|
|
||||||
|
|
||||||
See README.md file to get detailed usage of this example.
|
|
||||||
|
|
||||||
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, this
|
|
||||||
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
||||||
CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user