Anniversary Sale · up to 80% off all librariesEnds Nov 9Shop now
SOFTTDocs
You are reading the documentation for ESP-DASH v4.x.x, which is no longer the latest release. View the v5.x.x documentation.

Examples

Example sketches for ESP-DASH v4 that demonstrate cards, charts, interactive widgets and dynamic dashboards.

The ESP-DASH repository includes documented example sketches that demonstrate common use cases. Each example is self-contained and can be uploaded after setting your Wi-Fi credentials.

Available examples

The following examples ship with ESP-DASH Lite v4.0.9:

ExampleDescription
BasicCreates temperature and humidity cards and updates them at a fixed interval.
AccessPointStarts the board in Access Point (SoftAP) mode and serves the dashboard at 192.168.4.1.
ChartCreates a bar chart and updates its Y-axis values at a regular interval.
InteractiveCreates a button card and a slider card that respond to user input.
DynamicCreates cards on the heap and removes one from the dashboard at runtime.
BenchmarkExercises the library to verify that ESP-DASH works correctly on your platform.

You can find the examples in the examples folder of the v4.0.9 release. In the Arduino IDE, they are also available under File > Examples > ESP-DASH after installation.

The master branch of the repository contains the ESP-DASH v5 examples, which use a different API. Use the v4.0.9 tag for v4 sketches.

On this page