This is going to be a strange request. I must warn that I am new to embedded programming and therefore what is obvious to you may not be to me. I am trying to implement a real time clock program with the data then being transmitted on CAN. I am getting some warning when I compile my code and cannot understand what I need to do. Any help would be appreciated. I will be posting my code in parts as I cannot exceed a certain character limit.
Just a footnote: Old MS-DOS (FAT directory entries) only stored even seconds for the file time stamp, just to get the clock value to fit in a 16-bit unsigned integer.
It makes you think: MS do get some things right :-)