Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
You are viewing an older revision! See the latest version
STM Schalter
Schreiben Sie ein Programm für das M0 Board, dass einen Lichtschalter simuliert. Es soll der rote Anteil der RGB-Led durch betätigen des Schalters SW2 ein bzw. ausgeschaltet werden.
Verwenden Sie die Klasse Debouncer von Liyang HU zur Tastenentprellung und die PWM für RGB-Led.
Das Zustandsdiagramm (Statechart Diagram) sieht folgendermaßen aus: