rtc

xod-dev/ds-rtc/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
@/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
I2Cxod/i2c/i2c
ADDRbyte
I²C address of the device
UPDpulse
Triggers a new read
rtc
I2C
ADDR
UPD
DT
DONE
DONEpulse
Fires on a successful read
DTxod/datetime/datetime
A datetime value
To use the node 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.