``` mkdir test && cd test mbed new . mbed add https://github.com/arduino/ArduinoCore-API mbed add https://github.com/arduino/ArduinoCore-mbed cat <<EOT >> main.cpp DigitalOut led(PA_1); int main() { pinMode(PA_0, OUTPUT); while (1) { digitalWrite(PA_0, HIGH); delay(100); digitalWrite(PA_0, LOW); delay(100); } } EOT mbed compile -m TARGET -t GCC_ARM ```
171 B
171 B