AUP_Lab3_Interrupt

Dependencies:   mbed

Fork of Lab3_Interrupt by 璇 李

Files at this revision

API Documentation at this revision

Comitter:
BrentLei
Date:
Sat Oct 31 06:34:32 2015 +0000
Parent:
1:6acc584b5a38
Commit message:
Nordic Fixed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);