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.
Dependencies: mbed
main.cpp
- Committer:
- McGasser
- Date:
- 2020-03-24
- Revision:
- 2:60b7ddea313d
- Parent:
- 1:7bc57549d141
- Child:
- 3:5b211a56c6fb
File content as of revision 2:60b7ddea313d:
//****************************************************************************** // // Includes // //****************************************************************************** #include <mbed.h> #include "Adafruit_WS2801.h" #include "Definitionen.h" //****************************************************************************** // // Definitionen // //****************************************************************************** // Instanz der Klasse LED erstellen Adafruit_WS2801 leds( LED_NUM, SPI_MOSI, SPI_SCK, WS2801_RGB ); //****************************************************************************** // // Main // //****************************************************************************** int main () { int aktuell = 0; int sensor = 5; while (1) { aktuell = leds.show_Aktuell(aktuell,sensor); wait(1); } }