Skip to content

Instantly share code, notes, and snippets.

@phhusson
Created June 7, 2025 17:04
Show Gist options
  • Save phhusson/fef98c07026f8c894a05507dbde2ea5b to your computer and use it in GitHub Desktop.
Save phhusson/fef98c07026f8c894a05507dbde2ea5b to your computer and use it in GitHub Desktop.
esphome with WS2812b emojis using IBM PC 8x8 font
esphome:
name: esp-ws2812b-64
esp32:
board: upesy_wroom
framework:
type: arduino
captive_portal:
light:
- platform: fastled_clockless
chipset: WS2812B
pin: GPIO17
num_leds: 64
rgb_order: GRB
name: "LED Matrix"
id: led_matrix
effects:
- addressable_rainbow:
- addressable_scan:
- addressable_fireworks:
- addressable_twinkle:
- pulse:
font:
- file: 'web_ibm_bios.woff' # https://int10h.org/oldschool-pc-fonts/fontlist/woff/web_ibm_bios.woff
id: font1
size: 8
bpp: 4
glyphs: [
"\u263a",
"\u2665"
]
- file: 'gfonts://Noto+Serif'
id: font2
size: 8
display:
- platform: addressable_light
addressable_light_id: led_matrix
width: 8
height: 8
lambda:
!lambda |-
auto YELLOW = Color(64, 64, 0);
it.printf(0, 0, id(font1), YELLOW, "\u2665");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment