| -### Magnetometer calibration -At the start of the program, magnetometer calibration is performed for 10 seconds. -Turn the board in every axis during this time to achieve best magnetometer results. +This example demonstrates the usage of sensors available in BSP packages. +All sensors are sampled based on the configured sampling period. +Measurement results are printed to the terminal and shown on the display, if available. -## LED and buzzer -On every press of KEY_IO0 button, the buzzer beeps and AZURE LED blinks. + |
+
+ |
+
+
+
+
+
diff --git a/examples/display_sensors/doc/pic.webp b/examples/display_sensors/doc/pic.webp
new file mode 100644
index 000000000..6b5b16a6d
Binary files /dev/null and b/examples/display_sensors/doc/pic.webp differ
diff --git a/examples/display_sensors/main/idf_component.yml b/examples/display_sensors/main/idf_component.yml
index e276d02e8..bac682611 100644
--- a/examples/display_sensors/main/idf_component.yml
+++ b/examples/display_sensors/main/idf_component.yml
@@ -1,5 +1,4 @@
-description: BSP ESP32-Azure-IoT-Kit sensor example
-
+description: BSP sensor hub example
dependencies:
bsp_selector:
version: '*'
diff --git a/examples/display_sensors/main/main.c b/examples/display_sensors/main/main.c
index 678198720..5f5aa8f74 100644
--- a/examples/display_sensors/main/main.c
+++ b/examples/display_sensors/main/main.c
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1.0
*/
@@ -7,299 +7,242 @@
/**
* @file
* @brief BSP Sensors Example
- * @details Display sensor data on a monochrome screen (LVGL)
- * @example https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-bsp/config.toml&app=display_sensors-
+ * @details Acquire sensor data using the sensor hub component
+ * @example https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-bsp/config.toml&app=display_sensors
*/
#include
-
diff --git a/examples/sensors/main/CMakeLists.txt b/examples/sensors/main/CMakeLists.txt
deleted file mode 100644
index bd886e001..000000000
--- a/examples/sensors/main/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-idf_component_register(SRCS "main.c"
- INCLUDE_DIRS "."
- )
diff --git a/examples/sensors/main/idf_component.yml b/examples/sensors/main/idf_component.yml
deleted file mode 100644
index bac682611..000000000
--- a/examples/sensors/main/idf_component.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-description: BSP sensor hub example
-dependencies:
- bsp_selector:
- version: '*'
- override_path: ../../../components/bsp_selector
diff --git a/examples/sensors/main/main.c b/examples/sensors/main/main.c
deleted file mode 100644
index c48aa660c..000000000
--- a/examples/sensors/main/main.c
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
- *
- * SPDX-License-Identifier: CC0-1.0
- */
-
-/**
- * @file
- * @brief BSP Sensors Example
- * @details Acquire sensor data using the sensor hub component
- * @example https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-bsp/config.toml&app=sensors
- */
-
-#include