Lei Lei
/
AUP_Lab3_Interrupt
AUP_Lab3_Interrupt
Fork of Lab3_Interrupt by
Revision 2:ebbc2bafeb5f, committed 2015-10-31
- 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 |
diff -r 6acc584b5a38 -r ebbc2bafeb5f main.cpp --- 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);