Skip to content

Commit

Permalink
Added basic Gemma_red to test pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomActPG committed Jul 13, 2014
1 parent e29a1da commit 9b62082
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Gemma_Red/Gemma_Red.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <Adafruit_NeoPixel.h>
#define PIN 0
Adafruit_NeoPixel strip = Adafruit_NeoPixel(4, PIN, NEO_GRB + NEO_KHZ800);

void setup() {
strip.begin();
strip.show(); // Initialize all pixels to 'off'
}

void loop() {
for (int i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i,255,0,0);
strip.show();
}
}

0 comments on commit 9b62082

Please sign in to comment.