This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Modified by Frederic Drago to display a panel using 24 bits hex colors and gamma correction | |
* Modified by Markus Lipp adding interleaved buffers, streaming, 32x32 & 24bit support | |
* Based on "_16x32_Matrix R3.0" by Creater Alex Medeiros, http://PenguinTech.tk | |
* Use code freely and distort its contents as much as you want, just remeber to thank the | |
* original creaters of the code by leaving their information in the header. :) | |
*/ | |
//PortA[4:5, 12:13] = {33, 24, 3, 4} | |
//PortB[0:3, 16:19] = {16, 17, 19, 18, 0, 1, 32, 25} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
// Adapted from the Adafruit NeoPixel test example. | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_RGB Pixels are wired for RGB bitstream | |
// NEO_GRB Pixels are wired for GRB bitstream | |
// NEO_KHZ400 400 KHz bitstream (e.g. FLORA pixels) |