Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 18:204cd747b54a
- Parent:
- 17:358987e9f30e
- Child:
- 19:08862f49cd9e
diff -r 358987e9f30e -r 204cd747b54a main.cpp --- a/main.cpp Thu May 21 12:50:43 2020 +0000 +++ b/main.cpp Thu May 21 22:59:59 2020 +0000 @@ -65,8 +65,14 @@ printf("Running in SLOW_TIME\n"); tick.attach(&noise_isr, 1); //extended for debug (1Hz) #endif +#ifdef CSV + printf("Running in SLOW_TIME\n"); + tick.attach_us(&noise_isr, 5000); //extended for debug (1Hz) +#endif #ifndef SLOW_TIME - tick.attach_us(&noise_isr, 63); //normal mode SR=20kHz +#ifndef CSV + tick.attach_us(&noise_isr, 63); //normal mode SR=16kHz +#endif #endif menu.mainmenu(lcd,pad); @@ -79,7 +85,7 @@ void noise_isr() { #ifdef SLOW_TIME if (g_isr_flag==0) { - printf("ISR INTTERUPT = 1\n"); + //printf("ISR INTTERUPT = 1\n"); } #endif g_isr_flag=1;