![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
ese519
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};