AUP_Lab3_Interrupt

Dependencies:   mbed

Fork of Lab3_Interrupt by 璇 李

Revision:
2:ebbc2bafeb5f
Parent:
1:6acc584b5a38
--- a/main.cpp	Sat Oct 31 02:43:54 2015 +0000
+++ b/main.cpp	Sat Oct 31 06:34:32 2015 +0000
@@ -21,6 +21,7 @@
 {
     // Set PWM
     led.write(brightness);
+    led.period_ms(1);
     
     button_up.fall(&press_up);
     button_down.fall(&press_down);