| Crates.io | devbit_99bugs_led_display_driver |
| lib.rs | devbit_99bugs_led_display_driver |
| version | 0.2.1 |
| created_at | 2022-12-08 14:32:31.994202+00 |
| updated_at | 2022-12-08 14:32:31.994202+00 |
| description | SPI driver for the 99bug LED Display |
| homepage | |
| repository | |
| max_upload_size | |
| id | 732628 |
| size | 4,786 |
Driver for the 99 Bugs LED Display (Meme TV). It communicates via SPI with the Mojo FPGA on the display.
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...");
}