eldruin / ds323x-rs

Platform-agnostic Rust driver for the DS3231, DS3232 and DS3234 extremely accurate real-time clocks (RTC).
Apache License 2.0
13 stars 7 forks source link

Support alarms #2

Closed simonvandel closed 5 years ago

simonvandel commented 5 years ago

I could not find any way to program alarms in the docs. Is this feature planned?

I might try to contribute this back myself, but i'm just getting into embedded so it might take some time.

eldruin commented 5 years ago

I have already added support for the alarms although I have not published a new version yet. See Changelog. Do you need it urgently?

simonvandel commented 5 years ago

Urgently is a strong word. I was planning on playing around this weekend.

eldruin commented 5 years ago

Sure. I can publish a new version including alarm support today or tomorrow.

simonvandel commented 5 years ago

That would be great!

eldruin commented 5 years ago

Ok, I did some small improvements I had in the pipeline for this crate and just published version 0.2.0. Please feel free to report any further issues, improvements or feedback. Have fun!