mirror of
https://github.com/alexhopeoconnor/DFTE.git
synced 2026-10-15 16:51:19 +10:00
18 lines
471 B
Markdown
18 lines
471 B
Markdown
# Hello Placeholder
|
|
|
|
This introductory sketch demonstrates the minimum DFTE setup:
|
|
|
|
- Create a `PlaceholderRegistry` and register simple RAM getters
|
|
- Initialise a `TemplateContext` with a RAM template
|
|
- Stream the rendered output into a Serial buffer
|
|
|
|
## Build
|
|
|
|
```
|
|
pio run -d examples/HelloPlaceholder -e example_esp8266
|
|
pio run -d examples/HelloPlaceholder -e example_esp32
|
|
```
|
|
|
|
Flash the firmware and open the serial monitor at 115200 baud to see the rendered text.
|
|
|