(C)stachan 08.02.2024

Task :: Minus 10

  • Das Programm zählt im Takt von 1T=60000 von 255 hinunter (Endlosschleife).

  • Wird der rote Button gedrückt, erscheinen drei Zeilen aus je drei Punkten (siehe unten, programmieren Sie hier eine Schleife).

  • Bei jeder Punkte-Zeile blinkt die grüne LED für 1T=10000 -> insgesamt 3x Blinken.

  • Danach erscheint der Text “Subtrahiere 10:”, die Ausgabe wird um 10 verringert und die gelbe LED leuchtet für 1T=10000.


  • The programme counts down from 255 at a rate of 1T=60000 (endless loop).

  • If the red button is pressed, three lines of three dots each appear (see below, write a loop here).

  • The green LED flashes for 1T=10000 for each line of dots -> a total of 3 flashes.

  • Then the text ‘Subtract 10:’ appears, the output is reduced by 10 and the yellow LED lights up for 1T=10000.

minus10