nxt 0.2.1

USB driver for communicating with the NXT brick
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[tokio::main]
async fn main() -> nxt::Result<()> {
    tracing_subscriber::fmt::init();

    let nxt = nxt::Bluetooth::wait_for_nxt().await?;

    let info = nxt.get_device_info().await?;
    dbg!(info);

    Ok(())
}