the first

Committer:
icchong
Date:
Sun Sep 16 08:18:10 2018 +0000
Revision:
1:5f9cd5aa577f
Parent:
0:37df34174027
the first

Who changed what in which revision?

UserRevisionLine numberNew contents of line
icchong 0:37df34174027 1 #include <mbed.h>
icchong 0:37df34174027 2
icchong 0:37df34174027 3 DigitalOut myLed(LED1);
icchong 0:37df34174027 4
icchong 0:37df34174027 5 int main(int argc, char* argv[])
icchong 0:37df34174027 6 {
icchong 1:5f9cd5aa577f 7 while (true) {
icchong 1:5f9cd5aa577f 8 myLed = !myLed;
icchong 1:5f9cd5aa577f 9 wait(0.5);
icchong 1:5f9cd5aa577f 10 }
icchong 0:37df34174027 11 }