NuMaker GPIO Interrupt with Debounce Setting

Revision:
10:286c71f85d6f
Parent:
8:a479ab0a14ef
Child:
15:d825021a7e5b
--- a/main.cpp	Fri Sep 29 17:46:04 2017 +0800
+++ b/main.cpp	Tue Oct 17 13:48:56 2017 +0800
@@ -10,6 +10,9 @@
 #elif defined(TARGET_NUMAKER_PFM_M487)
 InterruptIn button(SW2);
 DigitalOut led(LED1);
+#elif defined(TARGET_NUMAKER_PFM_NANO130)
+InterruptIn button(SW2);
+DigitalOut led(LED1);
 #endif
 
 void flip() {