hello test

Dependencies:   mbed

Committer:
Compass_Yap
Date:
Thu Sep 21 05:34:49 2017 +0000
Revision:
0:4651d2bc2edf
Child:
1:956ce737cb2b
Test_mbed_Blink

Who changed what in which revision?

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