Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
how do I prevent the LEDs flashing and return to the main code when instigating the alarm function?
how do I prevent the LEDs flashing and return to the main code when instigating the alarm function?
Question relating to:
1 Answer
9 years, 4 months ago.
By using other code in the alarm function. It is just an example program you are using, and the error function it now calls is supposed to let the LEDs flash and prevent returning to the main code. You can for example simply replace it with a printf function.