initial import

This commit is contained in:
2020-12-16 11:44:18 -08:00
commit a6bfe5ce81
7 changed files with 219 additions and 0 deletions

28
stage2/src/main.cc Normal file
View File

@@ -0,0 +1,28 @@
#include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel pixels(1, 11, NEO_GRB + NEO_KHZ800);
void
init()
{
Serial.begin(115200);
}
void
main()
{
static bool on = false;
Serial.println("blink");
if (on) {
pixels.clear();
} else {
pixels.setPixelColor(0, pixels.color(0, 255, 0));
}
pixels.show();
delay(1000);
}