#display #driver #vacuum #fluorescent #vfd

no-std cu40026

A simple display driver for the CU40026 vacuum fluorescent display (VFD)

2 releases

0.1.1 Aug 12, 2024
0.1.0 Aug 12, 2024

#820 in Embedded development

MIT/Apache

6KB
74 lines

CU40026


docs.rs Crates.io

Crates.io


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

~30KB