for extra credit 1

Dependencies:   mbed

Revision:
1:fb9ce7e54c8d
Parent:
0:893e598b3e49
--- a/main.cpp	Fri Jan 30 23:41:05 2015 +0000
+++ b/main.cpp	Thu Feb 05 22:04:43 2015 +0000
@@ -1,7 +1,6 @@
 /*
 #include "mbed.h"
 
-PwmOut pwm1(p25);
 
 int main() {
     while(1) {
@@ -233,12 +232,14 @@
                     return '1';
             }
     }
+    return '\0';
 }
 
 int main() {
 
      led3 = 1;
      led4 = 1;
+     pwm1 = 0;
      en1.rise(&depressed);
      en1.fall(&released);
      t.start();