jj

Dependencies:   mbed

main.cpp

Committer:
maaikelaagland
Date:
2018-02-03
Revision:
1:b64f61d65af9
Parent:
0:ccd0c94dbe45

File content as of revision 1:b64f61d65af9:

#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

hoi dreed ik dit?