jj

Dependencies:   mbed

main.cpp

Committer:
maaikelaagland
Date:
2018-02-03
Revision:
2:c7267df63e0e
Parent:
0:ccd0c94dbe45

File content as of revision 2:c7267df63e0e:

#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


hhh
fsa
df
asd
f