This loops through PWM outputs connected to the red and green LED.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 4:a8b0243f29b7
- Parent:
- 3:e13f77e8172a
- Child:
- 5:10267572c71b
diff -r e13f77e8172a -r a8b0243f29b7 main.cpp --- a/main.cpp Fri Aug 12 22:03:48 2016 +0000 +++ b/main.cpp Sat Aug 13 08:36:34 2016 +0000 @@ -1,23 +1,5 @@ -/*! Lab1TestAdvanced - * Used for advanced LED blinking with the FRDM-KL46Z. - * \author Matthew Shuman - * - * \date August 12th, 2016 - - * \bug No bugs yet - - * @code - * #include "mbed.h" - * - * int main() - * { - * } - * @endcode - */ - #include "mbed.h" - //This creates Pulse Width Modulated outputs, r and g, and connects them to the red and green LED. PwmOut r(LED_RED); PwmOut g(LED_GREEN);