Created
October 25, 2014 05:45
-
-
Save HAKASHUN/efa838e1325868726463 to your computer and use it in GitHub Desktop.
mbedでHello world!
From https://developer.mbed.org/handbook/mbed-SDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
DigitalOut myled(LED1); | |
int main(){ | |
while(1){ | |
myled = 1; | |
wait(0.2); | |
myled = 0; | |
wait(0.2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment