Ivan Yohuno
/
neopixel_spi
Code to work with NeoPixels
Diff: main.cpp
- Revision:
- 3:81ab43d7e3a2
- Parent:
- 2:35fd99de07b3
- Child:
- 4:64ecb3b6d1c7
--- a/main.cpp Thu Apr 23 17:52:28 2015 +0000 +++ b/main.cpp Thu Apr 23 18:01:36 2015 +0000 @@ -74,8 +74,8 @@ void setRGBPixel(int r, int g, int b); //sets colour of one RGB Pixel void setRGBStrip(int r, int g, int b); //sets colour of a strip of 8 RGB Pixels void setRGBPixels(int colours[8][3]); //sets sequence of colours for a strip of 8 RGB Pixels -void setRGBFloor1(int colours[2][8][3]); //sets a sequence of colours for 2 strips of 8 RGB Pixels -void setRGBFloor2(int colours[2][8][3]); //sets a sequence of colours for 2 strips of 8 RGB Pixels +void setRGBFloor1(int colours[2][8][3]); //sets a sequence of colours for 2 strips of 8 RGB Pixels on pin 5 +void setRGBFloor2(int colours[2][8][3]); //sets a sequence of colours for 2 strips of 8 RGB Pixels on pin 11 void spi_init(); //initializes SPI pin at correct bit length and bit rate