blink a led
Dependencies: mbed
Revision 16:21a80819dad9, committed 2016-05-28
- Comitter:
- Maggie17
- Date:
- Sat May 28 07:21:58 2016 +0000
- Parent:
- 15:54d9ef9b943e
- Commit message:
- modify
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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() {