Example program to sweep the RGB LED through various colours using PWM
Fork of app-board-RGB by
Revision 1:5ac8fa71dfb4, committed 2014-02-07
- Comitter:
- chris
- Date:
- Fri Feb 07 17:28:21 2014 +0000
- Parent:
- 0:f86c572491c3
- Child:
- 2:78710087f088
- Commit message:
- First check in
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Oct 15 12:19:12 2012 +0000 +++ b/main.cpp Fri Feb 07 17:28:21 2014 +0000 @@ -1,8 +1,8 @@ #include "mbed.h" -PwmOut r (p23); -PwmOut g (p24); -PwmOut b (p25); +PwmOut r (D5); +PwmOut g (D8); +PwmOut b (D9); int main() {