xod-dev/ds-rtc@0.37.3

License: AGPL-3.0

This library operates DS1302/DS1307/DS3231 based breakout RTC boards
NodeDescription
example-readNo description
example-writeNo description
read
Reads a datetime value from a RTC device. Possible errors: — Invalid I2C address — Data too long to fit in transmit buffer — Received NACK on transmit of address — Received NACK on transmit of data — Other error — No bytes written. Probably due to buffer overflow — Can't read the value
rtc
Represents a real-time clock module based on a DS1302/DS1307/DS3231 chip. Use the node to track the current wall-clock time which was previously set in the module Possible errors: — Invalid I2C address — Data too long to fit in transmit buffer — Received NACK on transmit of address — Received NACK on transmit of data — Other error — No bytes written. Probably due to buffer overflow — Can't read the value
rtc-device
Constructs an rtc-device value for a DS1302/DS1307/DS3231 RTC board
write
Writes a datetime value into the memory of a RTC device. Possible errors: — Invalid I2C address — Data too long to fit in transmit buffer — Received NACK on transmit of address — Received NACK on transmit of data — Other error — No bytes written. Probably due to buffer overflow
To use the nodes in your project you should have the xod-dev/ds-rtc library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.