diff --git a/examples/blink-qubot b/examples/blink-qubot new file mode 100755 index 0000000..ffcf5ff Binary files /dev/null and b/examples/blink-qubot differ diff --git a/examples/blink-qubot.c b/examples/blink-qubot.c new file mode 100755 index 0000000..aeb1f70 --- /dev/null +++ b/examples/blink-qubot.c @@ -0,0 +1,27 @@ +/* + * blink.c: + * + * Welcome to MikuQ.com! MikuDuino for BananaPi + * + * by MikuQ(i@mikuq.com) 2016-6-2 + * + * https://github.com/bpiq/MikuPi + * + */ + +#include "MikuDuino.h" + +int led = 13; + +void setup() +{ + pinMode (led, OUTPUT) ; +} + +void loop() +{ + digitalWrite (led, HIGH) ; + delay(500); + digitalWrite (led, LOW) ; + delay(500); +}