예제1) LED 토글 예제
Dependencies: mbed
Fork of ex1_mbed_first by
main.cpp
- Committer:
- robertchoi
- Date:
- 2017-10-13
- Revision:
- 0:e075e2cea604
- Child:
- 1:edee77006ef2
File content as of revision 0:e075e2cea604:
// Toggle a LED #include "mbed.h" DigitalOut led(LED1); int main() { while(1) { led = !led; wait(0.2); } }