Hlimi Omar
/
biniou
TRR2018 omar
Fork of biniou by
Diff: main.cpp
- Revision:
- 29:fc984fe08ca7
- Parent:
- 27:f8c3f1524a64
- Child:
- 33:88d8f254c0b7
diff -r af53caf04446 -r fc984fe08ca7 main.cpp --- a/main.cpp Mon Sep 17 11:08:02 2018 +0000 +++ b/main.cpp Tue Sep 18 18:28:19 2018 +0000 @@ -1,8 +1,17 @@ #include "stateMachines.h" Timer timerLoop; +#if DEBUG >= -1 +InterruptIn dump_button(USER_BUTTON); +#endif + int main() { +#if DEBUG >= -1 + dump_button.fall(&pressed); + initSamples(); +#endif + initIntegrationTable(); mursInit(); #ifdef DLVV obstacleInit(); @@ -39,4 +48,4 @@ #endif } -} \ No newline at end of file +}