https://github.com/aaronjackson/interstate75-esphome
Display graphics with ESPhome on a 64x64 LED matrix display, Pico W Interstate 75 board.
https://github.com/aaronjackson/interstate75-esphome
esphome hub75 pi-pico-w
Last synced: about 1 year ago
JSON representation
Display graphics with ESPhome on a 64x64 LED matrix display, Pico W Interstate 75 board.
- Host: GitHub
- URL: https://github.com/aaronjackson/interstate75-esphome
- Owner: AaronJackson
- Created: 2023-10-25T22:47:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T23:49:53.000Z (over 2 years ago)
- Last Synced: 2024-12-23T14:07:52.949Z (over 1 year ago)
- Topics: esphome, hub75, pi-pico-w
- Language: C++
- Homepage:
- Size: 18.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.org
Awesome Lists containing this project
README
* ESPHome on the Interstate75 RGB Matrix Display
Seems to work! Tad flickery. Uses both cores of the Pico to prevent ESPHome from interfering with the bitbanging loop. Tried to use PIO but got confused.
#+BEGIN_SRC yaml
external_components:
- source: github://AaronJackson/interstate75-esphome@main
components: [ hub75display ]
refresh: 0s
font:
- file: "gfonts://Roboto"
id: roboto12
size: 12
display:
- platform: hub75display
id: mydisplay
update_interval: 1s
lambda: |-
Color red = Color(255, 0, 0);
Color green = Color(0, 255, 0);
Color blue = Color(0, 0, 255);
Color white = Color(255, 255, 255);
it.draw_pixel_at(0, 0, red);
it.draw_pixel_at(63, 0, green);
it.draw_pixel_at(63, 63, blue);
it.draw_pixel_at(0, 63, white);
it.draw_pixel_at(31, 31, white);
it.circle(31, 31, 16, white);
it.rectangle(3, 3, 16, 16, white);
it.print(4, 50, id(roboto12), "Hello");
#+END_SRC