https://github.com/chamik/beepy-display
DrawTarget implementation for the embedded-graphics crate
https://github.com/chamik/beepy-display
Last synced: about 1 month ago
JSON representation
DrawTarget implementation for the embedded-graphics crate
- Host: GitHub
- URL: https://github.com/chamik/beepy-display
- Owner: chamik
- License: mit
- Created: 2024-01-21T18:36:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T07:47:37.000Z (over 2 years ago)
- Last Synced: 2025-12-19T18:50:46.562Z (6 months ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Beepy display
This crate is a simple DrawTarget implementation for the [embedded-graphics](https://github.com/embedded-graphics/embedded-graphics) library.
To be able to draw to the display you need to add yourself to the video group:
```sh
$ 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