devbit_99bugs_led_display_driver 0.2.1

SPI driver for the 99bug LED Display
Documentation
  • Coverage
  • 0%
    0 out of 14 items documented0 out of 6 items with examples
  • Size
  • Source code size: 4.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 374.37 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • BioBoost

Rust Driver 99 Bugs Display

Driver for the 99 Bugs LED Display (Meme TV). It communicates via SPI with the Mojo FPGA on the 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...");
}