9 releases

0.4.4 Feb 7, 2024
0.4.0 Sep 4, 2023
0.3.0 Aug 31, 2023
0.2.8 Aug 31, 2023

#8 in #gatt-server

Download history 17/week @ 2023-11-03 28/week @ 2023-11-10 27/week @ 2023-11-17 39/week @ 2023-11-24 43/week @ 2023-12-01 14/week @ 2023-12-08 26/week @ 2023-12-15 33/week @ 2023-12-22 7/week @ 2023-12-29 15/week @ 2024-01-05 16/week @ 2024-01-12 12/week @ 2024-01-19 20/week @ 2024-01-26 50/week @ 2024-02-02 32/week @ 2024-02-09 214/week @ 2024-02-16

316 downloads per month
Used in 4 crates

MIT license

9KB
181 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.5–1MB
~22K SLoC