2 releases
0.1.1 | Aug 12, 2024 |
---|---|
0.1.0 | Aug 12, 2024 |
#615 in Embedded development
6KB
74 lines
CU40026
lib.rs
:
A very simple display driver for the CU40026 vacuum fluorescent display (VFD).
This has only been tested on CU40026MCPB-S35A
so far.
Usage :
let serial_interface = SerialInterface::new(tx);
let display = cu40026::Display::new(serial_interface);
display.initialise()?;
Timer::after(Duration::from_millis(10)).await;
display.set_cursor_type(CursorType::InvisibleCursor)?;
display.set_luminance(100)?;
display.write_str("Hello World!")?;
Dependencies
~31KB