A rust driver for the notecard?

Hi,

has there been any attempt at writing an API for Rust that works with embedded-hal I2C? I am currently working on my own driver.

Regards, Gaute

1 Like

Hi @gauteh thanks for posting, and welcome to the community, we’re glad you’re here! We’ve not tried our hands at a Rust API yet, but would love to see one! Please let us know how it goes, and share your progress here as I’m sure there are others in the community that would be interested in a Rust SDK.

Hi, here is the repository for the driver. Currently working on the I2C interface.

2 Likes

I am de-serializing the JSON from card.time, and as specified I get an error before the notecard has available data. I am wondering where the schema for errors and the incomplete structs are (e.g. what are optional fields?).

So far this driver does not use any allocations.