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
read
@/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
DEV@/rtc-device
UPDpulse
Triggers a new read
DONEpulse
Fires on a successful read
OUTxod/datetime/datetime
The last datetime value read successfully. The default startup value is 1970-01-01 00:00:00
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.