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: Adafruit-PWM-Servo-Driver mbed-rtos mbed
Fork of xlab_lights by
Revision 1:ae6c0b321908, committed 2015-02-13
- Comitter:
- Jing_Qiu
- Date:
- Fri Feb 13 23:53:11 2015 +0000
- Parent:
- 0:0d0dcca68fba
- Commit message:
- second attempt
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0d0dcca68fba -r ae6c0b321908 main.cpp --- a/main.cpp Fri Feb 13 21:51:43 2015 +0000 +++ b/main.cpp Fri Feb 13 23:53:11 2015 +0000 @@ -1,3 +1,5 @@ +//Author: Jing and Simon + #include "mbed.h" #include "Adafruit_PWMServoDriver.h" @@ -5,6 +7,8 @@ #define MEDIUM 22 #define WEAK 5 + + // Contains the color codes - Red, Green, Blue int purple[] = {204, 0, 255}; int orange[] = {255, 69, 0};