NuMaker GPIO Interrupt with Debounce Setting

Revision:
19:6e52d72cc78b
Parent:
18:a53eb3c1d7b7
diff -r a53eb3c1d7b7 -r 6e52d72cc78b main.cpp
--- a/main.cpp	Thu Feb 25 10:30:59 2021 +0800
+++ b/main.cpp	Wed Mar 01 09:37:13 2023 +0000
@@ -22,6 +22,9 @@
 #elif defined(TARGET_NUMAKER_IOT_M263A)
 InterruptIn button(PG_4); // Button1 (SW10)
 DigitalOut led(LED1);
+#elif defined(TARGET_NUMAKER_IOT_M467)
+InterruptIn button(BUTTON1);
+DigitalOut led(LED1);
 #endif
 
 void flip() {