2 releases

0.1.1 Jan 24, 2024
0.1.0 Jan 21, 2024

#1892 in Embedded development

MIT license

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:

  1. Running the program as root
  2. sudo chmod o+w /sys/class/vtconsole/vtcon1/bind (lasts until reboot)
  3. Writing a udev rule

Dependencies

~4.5MB
~55K SLoC