increase led brightness using pwmout

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Jankoekenpan
Date:
Mon Sep 26 09:34:08 2016 +0000
Parent:
0:72b44fd432ea
Commit message:
remove unneeded serial

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 72b44fd432ea -r bb80a98933ca main.cpp
--- a/main.cpp	Mon Sep 26 09:33:24 2016 +0000
+++ b/main.cpp	Mon Sep 26 09:34:08 2016 +0000
@@ -2,12 +2,8 @@
 
 PwmOut led(D3);
 
-Serial pc(USBTX, USBRX);
-
 int main()
 {
-    
-    pc.baud(115200);
     while (true) {
         
         for (float f = 0.0; f < 1.0; f += 0.1f) {