Hello everybody. I am working on a project using the rtcc module from a pic32 and I have a question about the module.
what would happen with the code below, will tm.hour = 0x10 or will it be 0x0A? If it equals 0x0A is there some way to do bcd math with c?
what would happen with the code below, will tm.hour = 0x10 or will it be 0x0A? If it equals 0x0A is there some way to do bcd math with c?
Rich (BB code):
rtccTime tm;
tm.hour = 0x09;
tm.hour += 1;