예제1) LED 토글 예제

Dependencies:   mbed

Fork of ex1_mbed_first by 안양어벤저스

Files at this revision

API Documentation at this revision

Comitter:
robertchoi
Date:
Fri Oct 13 01:43:34 2017 +0000
Parent:
0:e075e2cea604
Commit message:
LED1 -> LED2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e075e2cea604 -r edee77006ef2 main.cpp
--- a/main.cpp	Fri Oct 13 01:41:13 2017 +0000
+++ b/main.cpp	Fri Oct 13 01:43:34 2017 +0000
@@ -1,7 +1,7 @@
 // Toggle a LED
 #include "mbed.h"
 
-DigitalOut led(LED1);
+DigitalOut led(LED2);
 
 int main() {
     while(1) {