This commit is contained in:
MikuQ.com 2016-06-03 06:59:51 +08:00
parent 4bf1d3eb51
commit 82d41c19a0
2 changed files with 27 additions and 0 deletions

BIN
examples/blink-qubot Executable file

Binary file not shown.

27
examples/blink-qubot.c Executable file
View File

@ -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);
}