5 unstable releases

0.3.2 Jan 14, 2024
0.3.1 Sep 15, 2023
0.3.0 Mar 23, 2023
0.2.0 Jun 30, 2022
0.1.0 Jun 17, 2022

#535 in Hardware support

33 downloads per month

MIT license

5.5MB
1.5K SLoC

Crates.io Documentation tests

Rust driver for notecard

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));

Dependencies