11 releases
new 0.4.6 | Nov 6, 2024 |
---|---|
0.4.5 | Apr 20, 2024 |
0.4.4 | Feb 7, 2024 |
0.4.0 | Sep 4, 2023 |
0.2.8 | Aug 31, 2023 |
#7 in #gatt
141 downloads per month
Used in 5 crates
9KB
192 lines
This library provides types used in other lipl-display crates.
lib.rs
:
Create a new screen with an update applied
Example
use lipl_display_common::{Command, LiplScreen, HandleMessage, Message};
let mut screen = LiplScreen::new(true, 40.0);
assert!(screen.dark);
screen.handle_message(Message::Command(Command::Light));
assert!(!screen.dark);
Dependencies
~0.6–1.2MB
~26K SLoC