drivers icon indicating copy to clipboard operation
drivers copied to clipboard

Added alarm features for DS3231

Open mfulz opened this issue 7 months ago • 4 comments

I've implemented missing features for DS3231 RTC similar like RTClib

These can be used to set Alarm1 (alarm2 is missing), read alarm1, activate alarm1, use sqw for interrupts, etc.

mfulz avatar May 11 '25 01:05 mfulz

@conejoninja PTAL :smile_cat:

deadprogram avatar May 28 '25 08:05 deadprogram

it's on my backlog, i'll review it eventually

conejoninja avatar May 28 '25 08:05 conejoninja

Hello, thanks for your contribution, since you already did the work for Alarm1, does it make sense to add Alarm2 too?

Also, since we are at it, I would add a new example under /examples/ds3231 for the alarms, let's keep the one already as "basic" and another for the alarms. It would be great to show how to set an interrupt on TinyGo.

Hi sure can do that stuff, if it's fine around 2-3 weeks as timeline. And of course alarm2, examples, docs will be added. Just wanted to make sure, that the PR will be accepted before doing the whole work :)

mfulz avatar May 30 '25 21:05 mfulz

Sure, we welcome every contribution, sometimes we are a bit slower reviewing changes, but we eventually get them done.

conejoninja avatar May 30 '25 21:05 conejoninja

Hi @mfulz are you still actively working on this? I can assist if needed.

gKits avatar Jul 23 '25 05:07 gKits

Closing now that #805 was merged. Thank you!

deadprogram avatar Nov 11 '25 09:11 deadprogram