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
write
@/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
DEV@/rtc-device
DTxod/datetime/datetime
A datetime value to write
UPDpulse
Triggers a new write
DONEpulse
Fires on a successful write
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.