mbed build system
This commit is contained in:
12
smoother/src/main.cpp
Normal file
12
smoother/src/main.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#include "mbed.h"
|
||||
|
||||
DigitalOut myled(LED1);
|
||||
|
||||
int main() {
|
||||
while(1) {
|
||||
myled = 1;
|
||||
wait(0.2);
|
||||
myled = 0;
|
||||
wait(0.2);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user