test

Dependencies:   mbed

Committer:
kasistorange
Date:
Wed Sep 26 07:12:52 2018 +0000
Revision:
0:42d364095a02
test

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kasistorange 0:42d364095a02 1 #include "mbed.h"
kasistorange 0:42d364095a02 2
kasistorange 0:42d364095a02 3 DigitalOut myled(LED1);
kasistorange 0:42d364095a02 4
kasistorange 0:42d364095a02 5 int main() {
kasistorange 0:42d364095a02 6 while(1) {
kasistorange 0:42d364095a02 7 myled = 1;
kasistorange 0:42d364095a02 8 wait(0.2);
kasistorange 0:42d364095a02 9 myled = 0;
kasistorange 0:42d364095a02 10 wait(0.2);
kasistorange 0:42d364095a02 11 }
kasistorange 0:42d364095a02 12 }