blink a led
Dependencies: mbed
Diff: main.cpp
- Revision:
- 16:21a80819dad9
- Parent:
- 15:54d9ef9b943e
--- a/main.cpp Sat May 28 07:20:30 2016 +0000 +++ b/main.cpp Sat May 28 07:21:58 2016 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" // this tells us to load mbed related functions -DigitalOut myled(LED1); // we create a variable 'red', use it as an out port +DigitalOut myled(LED1); // we create a variable 'myled', use it as an out port // this code runs when the microcontroller starts up int main() {