Not just Time, but Dtime also needs to be dimensioned correctly.
Time var byte[4] ' Holds months,days,hours,mins read from RTC
Dtime var byte[4] ' Holds months,days,hours,mins in HEX format
SteveB
Not just Time, but Dtime also needs to be dimensioned correctly.
Time var byte[4] ' Holds months,days,hours,mins read from RTC
Dtime var byte[4] ' Holds months,days,hours,mins in HEX format
SteveB
Thanks, I've changed the arrays to the correct size and -IT WORKS.
Sorry to bang on about WORD/BYTE/I2C when I just got a variable format wrong.
regards
Bill Legge
Bookmarks