mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-17 00:51:30 +10:00
* Nodelist cleanup * Trunk fix * getTextWidth cleanup Updated the lambda to cache width in textW and reuse it instead of repeatedly calling getTextWidth(text) for unchanged text. * Putting back hopAway ==0 condition as mentioned relayed signal is missleading --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
NicheGraphics
A pattern / collection of resources for creating custom UIs, to target small groups of devices which have specific design requirements.
For an example, see the heltec-vision-master-e290-inkhud platformio env.
-
platformio.ini
- suppress default Meshtastic components (Screen, ButtonThread, etc)
- define
MESHTASTIC_INCLUDE_NICHE_GRAPHICS - (possibly) Edit
build_src_filterto include our new nicheGraphics.h file
-
nicheGraphics.h
#includeall necessary components- perform all setup and config inside a
setupNicheGraphics()method