Hallo und vielen Dank,

der Attiny hat die 1000 tatsächlich verpennt. Mit der anderen If Abfrage klappt es.

Gruß Klaus Dieter