Test LED, Button Interrupt, Sleepmode, Ticker

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

main.cpp File Reference

main.cpp File Reference

main file. More...

Go to the source code of this file.

Functions

void flip (void)
 function to flip the led
int main (void)
 main function initial param for led
call function flip on rising edge of Button
attach function flip to Ticker with 2 seconds intervall
go to sleep or deepsleep (test the difference)


Detailed Description

main file.

Definition in file main.cpp.