Nuvoton
/
NuMaker-mbed-GPIO_Interrupt
NuMaker GPIO Interrupt with Debounce Setting
Diff: main.cpp
- Revision:
- 18:a53eb3c1d7b7
- Parent:
- 17:707b60147ca6
- Child:
- 19:6e52d72cc78b
--- a/main.cpp Thu Oct 24 09:46:38 2019 +0000 +++ b/main.cpp Thu Feb 25 10:30:59 2021 +0800 @@ -29,5 +29,8 @@ } int main() { +#ifdef MBED_MAJOR_VERSION + printf("Mbed OS version %d.%d.%d\r\n\n", MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION); +#endif button.rise(&flip); }