| Crates.io | blues-notecard |
| lib.rs | blues-notecard |
| version | 0.6.0 |
| created_at | 2022-06-17 18:32:10.97646+00 |
| updated_at | 2025-12-07 14:04:35.544007+00 |
| description | A driver for the Blues.io Notecard |
| homepage | |
| repository | https://github.com/gauteh/notecard-rs |
| max_upload_size | |
| id | 608110 |
| size | 5,770,342 |
This is a rust driver for the blues.io notecard based on embedded-hal.

use notecard::Note;
let mut note = Note::new(i2c);
note.initialize().expect("could not initialize notecard.");
if note.ping() {
info!("notecard found!");
} else {
error!("notecard not found!");
}
info!("note: card.time");
info!("note: time: {:?}", note.card().time(&mut delay).unwrap().wait(&mut delay));
info!("querying status..");
info!("status: {:?}", note.card().status(&mut delay).unwrap().wait(&mut delay));