10 years, 11 months ago.

How to read/write to a DS1904

I'm trying to use a DS1904 as a RTC for my project, does anyone know the commands to read/write the time on this guy??

1 Answer

10 years, 11 months ago.

There doesn't seem to be a library for that specific one. So you just will have to get the datasheet of the device and write the code. It seems to be a OneWire device, with some searching you can find some OneWire libraries which might help you: http://mbed.org/search/?type=&q=onewire