beepy-display

Crates.iobeepy-display
lib.rsbeepy-display
version0.1.1
sourcesrc
created_at2024-01-21 18:39:33.216243
updated_at2024-01-24 07:48:41.641369
descriptionEmbedded graphics DrawTarget for Beepy
homepage
repositoryhttps://github.com/chamik/beepy-display
max_upload_size
id1107797
size11,031
KubĂ­k (chamik)

documentation

README

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
Commit count: 0

cargo fmt