Skip to content

Commit 177c079

Browse files
Credit
1 parent 34bd454 commit 177c079

File tree

9 files changed

+70
-21
lines changed

9 files changed

+70
-21
lines changed

RGBmatrixPanel.cpp

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/*
22
RGBmatrixPanel Arduino library for Adafruit 16x32 and 32x32 RGB LED
3-
matrix panels. This version uses a few tricks to achieve better
4-
performance and/or lower CPU utilization:
3+
matrix panels. Pick one up at:
4+
http://www.adafruit.com/products/420
5+
http://www.adafruit.com/products/607
6+
7+
This version uses a few tricks to achieve better performance and/or
8+
lower CPU utilization:
59
610
- To control LED brightness, traditional PWM is eschewed in favor of
711
Binary Code Modulation, which operates through a succession of periods
@@ -23,6 +27,10 @@ performance and/or lower CPU utilization:
2327
instruction set in what seemed like an obvious chunk of code. Since
2428
it's only a few short instructions, this loop is also "unrolled" --
2529
each iteration is stated explicitly, not through a control loop.
30+
31+
Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon for
32+
Adafruit Industries.
33+
BSD license, all text above must be included in any redistribution.
2634
*/
2735

2836
#include "RGBmatrixPanel.h"

examples/colorwheel_32x32/colorwheel_32x32.pde

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
// colorwheel demo for RGBmatrixPanel library.
2-
// Renders a nice circle of hues on a 32x32 RGB LED matrix.
1+
// colorwheel demo for Adafruit RGBmatrixPanel library.
2+
// Renders a nice circle of hues on our 32x32 RGB LED matrix:
3+
// http://www.adafruit.com/products/607
4+
5+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
6+
// for Adafruit Industries.
7+
// BSD license, all text above must be included in any redistribution.
38

49
#include <Adafruit_GFX.h> // Core graphics library
510
#include <RGBmatrixPanel.h> // Hardware-specific library

examples/colorwheel_progmem_32x32/colorwheel_progmem_32x32.pde

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
// colorwheel_progmem demo for RGBmatrixPanel library.
2-
// Renders a nice circle of hues on a 32x32 RGB LED matrix.
3-
// Uses precomputed image data stored in PROGMEM rather than
4-
// calculating each pixel. Nearly instantaneous! Woo!
1+
// colorwheel_progmem demo for Adafruit RGBmatrixPanel library.
2+
// Renders a nice circle of hues on our 32x32 RGB LED matrix:
3+
// http://www.adafruit.com/products/607
4+
5+
// This version uses precomputed image data stored in PROGMEM
6+
// rather than calculating each pixel. Nearly instantaneous! Woo!
7+
8+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
9+
// for Adafruit Industries.
10+
// BSD license, all text above must be included in any redistribution.
511

612
#include <Adafruit_GFX.h> // Core graphics library
713
#include <RGBmatrixPanel.h> // Hardware-specific library

examples/plasma_16x32/plasma_16x32.pde

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
// plasma demo for RGBmatrixPanel library.
2-
// Demonstrates double-buffered animation on 16x32 RGB LED matrix.
1+
// plasma demo for Adafruit RGBmatrixPanel library.
2+
// Demonstrates double-buffered animation our 16x32 RGB LED matrix:
3+
// http://www.adafruit.com/products/420
4+
5+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
6+
// for Adafruit Industries.
7+
// BSD license, all text above must be included in any redistribution.
38

49
#include <avr/pgmspace.h>
510
#include <Adafruit_GFX.h> // Core graphics library

examples/plasma_32x32/plasma_32x32.pde

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
// plasma demo for RGBmatrixPanel library.
2-
// Demonstrates unbuffered animation on 32x32 RGB LED matrix.
1+
// plasma demo for Adafruit RGBmatrixPanel library.
2+
// Demonstrates unbuffered animation on our 32x32 RGB LED matrix:
3+
// http://www.adafruit.com/products/607
4+
5+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
6+
// for Adafruit Industries.
7+
// BSD license, all text above must be included in any redistribution.
38

49
#include <Adafruit_GFX.h> // Core graphics library
510
#include <RGBmatrixPanel.h> // Hardware-specific library

examples/scrolltext_16x32/scrolltext_16x32.pde

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
// scrolltext demo for RGBmatrixPanel library.
2-
// Demonstrates double-buffered animation on 16x32 RGB LED matrix.
1+
// scrolltext demo for Adafruit RGBmatrixPanel library.
2+
// Demonstrates double-buffered animation on our 16x32 RGB LED matrix:
3+
// http://www.adafruit.com/products/420
4+
5+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
6+
// for Adafruit Industries.
7+
// BSD license, all text above must be included in any redistribution.
38

49
#include <Adafruit_GFX.h> // Core graphics library
510
#include <RGBmatrixPanel.h> // Hardware-specific library

examples/testcolors_16x32/testcolors_16x32.pde

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// testcolors demo for RGBmatrixPanel library.
2-
// Renders 512 colors on a 16x32 RGB LED matrix.
3-
// Library supports 4096 colors, but there aren't that many pixels!
1+
// testcolors demo for Adafruit RGBmatrixPanel library.
2+
// Renders 512 colors on our 16x32 RGB LED matrix:
3+
// http://www.adafruit.com/products/420
4+
// Library supports 4096 colors, but there aren't that many pixels! :)
5+
6+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
7+
// for Adafruit Industries.
8+
// BSD license, all text above must be included in any redistribution.
49

510
#include <Adafruit_GFX.h> // Core graphics library
611
#include <RGBmatrixPanel.h> // Hardware-specific library

examples/testshapes_16x32/testshapes_16x32.pde

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// testshapes demo for RGBmatrixPanel library.
1+
// testshapes demo for Adafruit RGBmatrixPanel library.
22
// Demonstrates the drawing abilities of the RGBmatrixPanel library.
3-
// For 16x32 RGB LED matrix.
3+
// For 16x32 RGB LED matrix:
4+
// http://www.adafruit.com/products/420
5+
6+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
7+
// for Adafruit Industries.
8+
// BSD license, all text above must be included in any redistribution.
49

510
#include <Adafruit_GFX.h> // Core graphics library
611
#include <RGBmatrixPanel.h> // Hardware-specific library

examples/testshapes_32x32/testshapes_32x32.pde

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// testshapes demo for RGBmatrixPanel library.
1+
// testshapes demo for Adafruit RGBmatrixPanel library.
22
// Demonstrates the drawing abilities of the RGBmatrixPanel library.
3-
// For 32x32 RGB LED matrix.
3+
// For 32x32 RGB LED matrix:
4+
// http://www.adafruit.com/products/607
5+
6+
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
7+
// for Adafruit Industries.
8+
// BSD license, all text above must be included in any redistribution.
49

510
#include <Adafruit_GFX.h> // Core graphics library
611
#include <RGBmatrixPanel.h> // Hardware-specific library

0 commit comments

Comments
 (0)