display_sensors

# BSP: Sensors Example

This is an example usage of Azure-IoT-Kit board.

## Sensors
All sensors are sampled and results are shown on OLED display.
User can switch between pages by pressing KEY_IO0 button.

### 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.

## LED and buzzer
On every press of KEY_IO0 button, the buzzer beeps and AZURE LED blinks.

## uSD card
If a uSD card is successfully mounted a hello.txt file is created and WIFI LED is turned on.

<a href="https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-bsp/config.toml&app=display_sensors">
    <img alt="Try it with ESP Launchpad" src="https://espressif.github.io/esp-launchpad/assets/try_with_launchpad.png" width="250" height="70">
</a>

To create a project from this example, run:

idf.py create-project-from-example "espressif/esp32_azure_iot_kit=2.0.0~1:display_sensors"

or download archive