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

Download history 9/week @ 2024-08-26 72/week @ 2024-09-23 2/week @ 2024-09-30 9/week @ 2024-10-14 132/week @ 2024-11-04

141 downloads per month
Used in 5 crates

MIT license

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