Anniversary Sale · up to 80% off all librariesEnds Nov 9Shop now
SOFTTDocs

Examples

Example sketches in the ESP-DASH repository that demonstrate common dashboard implementations.

The ESP-DASH repository includes documented example sketches that demonstrate common use cases. Each example builds on the setup described in the Integration Guide.

Available examples

ExampleDescription
AccessPointStarts the board in access point (SoftAP) mode and serves the dashboard at 192.168.4.1.
BasicCreates a dashboard with a few cards and updates them in real time at a 3-second interval.
BenchmarkVerifies that ESP-DASH Lite works correctly on your platform.
ChartCreates a bar chart and updates it at a regular interval.
DynamicAllocates cards on the heap and removes a card from the dashboard after 30 seconds by deleting it. Requires familiarity with heap allocation, pointers and destructors.
InteractiveCreates an interactive dashboard with a toggle button and a slider.

All examples are available in the examples folder of the repository. In the Arduino IDE, you can also open them from File > Examples > ESP-DASH after installing the library.

On this page