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@1:7bc57549d141, 2020-03-24 (annotated)
- Committer:
- McGasser
- Date:
- Tue Mar 24 16:45:34 2020 +0000
- Revision:
- 1:7bc57549d141
- Parent:
- 0:3aebc133e240
- Child:
- 2:60b7ddea313d
Test;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
portmraf | 0:3aebc133e240 | 1 | #include <mbed.h> |
portmraf | 0:3aebc133e240 | 2 | #include "Adafruit_WS2801.h" |
portmraf | 0:3aebc133e240 | 3 | #include "Definitionen.h" |
portmraf | 0:3aebc133e240 | 4 | |
portmraf | 0:3aebc133e240 | 5 | |
portmraf | 0:3aebc133e240 | 6 | |
McGasser | 1:7bc57549d141 | 7 | // Michi war hier |
portmraf | 0:3aebc133e240 | 8 | |
portmraf | 0:3aebc133e240 | 9 | |
portmraf | 0:3aebc133e240 | 10 | |
portmraf | 0:3aebc133e240 | 11 | Adafruit_WS2801 leds( LED_NUM, SPI_MOSI, SPI_SCK, WS2801_RGB ); |
portmraf | 0:3aebc133e240 | 12 | |
portmraf | 0:3aebc133e240 | 13 | int main () { |
portmraf | 0:3aebc133e240 | 14 | |
portmraf | 0:3aebc133e240 | 15 | int aktuell = 0; |
portmraf | 0:3aebc133e240 | 16 | int sensor = 5; |
portmraf | 0:3aebc133e240 | 17 | |
portmraf | 0:3aebc133e240 | 18 | while (1) { |
portmraf | 0:3aebc133e240 | 19 | |
portmraf | 0:3aebc133e240 | 20 | aktuell = leds.show_Aktuell(aktuell,sensor); |
portmraf | 0:3aebc133e240 | 21 | wait(1); |
portmraf | 0:3aebc133e240 | 22 | |
portmraf | 0:3aebc133e240 | 23 | |
portmraf | 0:3aebc133e240 | 24 | } |
portmraf | 0:3aebc133e240 | 25 | |
portmraf | 0:3aebc133e240 | 26 | } |
portmraf | 0:3aebc133e240 | 27 | |
portmraf | 0:3aebc133e240 | 28 | |
portmraf | 0:3aebc133e240 | 29 | |
portmraf | 0:3aebc133e240 | 30 | |
portmraf | 0:3aebc133e240 | 31 | |
portmraf | 0:3aebc133e240 | 32 | |
portmraf | 0:3aebc133e240 | 33 | |
portmraf | 0:3aebc133e240 | 34 | |
portmraf | 0:3aebc133e240 | 35 |