Hallo,

warum speicherst du den letzten Zustand nicht im EEPROM des µC?

Viele Grüße
Andreas