Skip to content

Instantly share code, notes, and snippets.

/*
* 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}
@FredDrago
FredDrago / SevenTest.ino
Created June 17, 2014 15:06
Arduino demo for seven segment display by PetitStudio
#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)