This loops through PWM outputs connected to the red and green LED.

Dependencies:   mbed

Revision:
1:eceee8965029
Parent:
0:62faec5d4c84
Child:
2:758d7363957f
diff -r 62faec5d4c84 -r eceee8965029 main.cpp
--- a/main.cpp	Thu Jun 09 18:29:57 2016 +0000
+++ b/main.cpp	Thu Jun 09 19:48:22 2016 +0000
@@ -1,5 +1,23 @@
+/** My HelloWorld class.
+ *  Used for printing "Hello World" on USB serial.
+ *
+ * Example:
+ * @code
+ * #include "mbed.h"
+ * #include "HelloWorld.h"
+ *
+ * HelloWorld hw();
+ * 
+ * int main() {
+ *     hw.printIt(2);
+ * }
+ * @endcode
+ */
+
 #include "mbed.h"
 
+
+
 PwmOut r(LED_RED);
 PwmOut g(LED_GREEN);