driver_99bugs_display 0.1.0

Driver for the 99bugs led display
Documentation
  • Coverage
  • 0%
    0 out of 13 items documented0 out of 5 items with examples
  • Size
  • Source code size: 6.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 727.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sillevl

99bugs-led-display-driver

Driver for the 99bugs led display

Example

mod display;
use display::Display;
use display::LINE_BUFFER_SIZE;



fn main() {
    let mut display = Display::new("/dev/spidev0.0");
    let data: [u8; LINE_BUFFER_SIZE] = [0x00; LINE_BUFFER_SIZE];
    
    display.write_line(0,0,&data);
    display.flush();
    println!("Done...");
}