So, meine INTs werden nun folgendermaßen umgewandelt:
Code:unsigned long days2 = (unsigned long) EEPROM.read(4); days2 *= 86400; unsigned long hours2 = (unsigned long) EEPROM.read(5); hours2 *=3600; unsigned long minutes2 = (unsigned long) EEPROM.read(6); minutes2 *= 60; unsigned long temptime1 = days2 + hours2 + minutes2; intervall0 = reinterpret_cast <time_t> (temptime1);
Lesezeichen