Skip to content

Instantly share code, notes, and snippets.

View DougEdey's full-sized avatar
💸
Interrupt Driven Development

Doug Edey DougEdey

💸
Interrupt Driven Development
View GitHub Profile
@DougEdey
DougEdey / text_wrap.cpp
Created March 19, 2026 02:07 — forked from alvesvaren/text_wrap.cpp
Text wrapping for the esphome display api, with Color support
#include <vector>
#include <string>
#include <sstream>
#include "esphome/components/display/display_buffer.h"
#include "esphome/components/font/font.h"
#include "text_wrap.h"
using namespace esphome;
using namespace esphome::display;
using namespace esphome::font;