jj

Dependencies:   mbed

main.cpp

Committer:
maaikelaagland
Date:
2018-02-03
Revision:
0:ccd0c94dbe45
Child:
1:b64f61d65af9
Child:
2:c7267df63e0e

File content as of revision 0:ccd0c94dbe45:

#include "mbed.h"

DigitalOut led(LED_RED);
DigitalIn button(PTA4);

int main()
{
    while (true) {
        led = 1; // toggle led
        wait(0.2f); 
        led = 0; 
        wait(1.0f); 
    }
}
asd
fads
fsa
df
asd
f