test

Committer:
himatsumoto
Date:
Thu Aug 02 06:32:15 2018 +0000
Revision:
0:2d4da120f057
?????????1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
himatsumoto 0:2d4da120f057 1 #include "mbed.h"
himatsumoto 0:2d4da120f057 2
himatsumoto 0:2d4da120f057 3 DigitalOut led1(LED1);
himatsumoto 0:2d4da120f057 4
himatsumoto 0:2d4da120f057 5 // main() runs in its own thread in the OS
himatsumoto 0:2d4da120f057 6 int main() {
himatsumoto 0:2d4da120f057 7 while (true) {
himatsumoto 0:2d4da120f057 8 led1 = !led1;
himatsumoto 0:2d4da120f057 9 wait(0.2);
himatsumoto 0:2d4da120f057 10 }
himatsumoto 0:2d4da120f057 11 }
himatsumoto 0:2d4da120f057 12