2 releases
0.1.1 | Jan 24, 2024 |
---|---|
0.1.0 | Jan 21, 2024 |
#727 in Embedded development
5KB
60 lines
Beepy display
This crate is a simple DrawTarget implementation for the embedded-graphics library.
To be able to draw to the display you need to add yourself to the video group:
$ sudo usermod -aG video "$USER"
If you want to use the functions bind_console()
and unbind_console()
you have to have write access to /sys/class/vtconsole/vtcon1/bind
. You can achieve this by:
- Running the program as root
sudo chmod o+w /sys/class/vtconsole/vtcon1/bind
(lasts until reboot)- Writing a udev rule
Dependencies
~4.5MB
~54K SLoC