Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adavoice_face compatible w/recent Adafruit_GFX change

  • Loading branch information...
commit f141f148b559d6d8f2af9ad9166c3e16fca7cd29 1 parent 2551f8c
@PaintYourDragon PaintYourDragon authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 adavoice_face.pde
View
7 adavoice_face.pde
@@ -65,7 +65,9 @@ unsigned long newsum = 0L;
#define MATRIX_MOUTH_MIDDLE 2
#define MATRIX_MOUTH_RIGHT 3
-Adafruit_8x8matrix matrix[4]; // Array of Adafruit_8x8matrix objects
+Adafruit_8x8matrix matrix[4] = { // Array of Adafruit_8x8matrix objects
+ Adafruit_8x8matrix(), Adafruit_8x8matrix(),
+ Adafruit_8x8matrix(), Adafruit_8x8matrix() };
static uint8_t PROGMEM // Bitmaps are stored in program memory
blinkImg[][8] = { // Eye animation frames
@@ -241,9 +243,8 @@ void setup() {
// Seed random number generator from an unused analog input:
randomSeed(analogRead(A2));
- // Instantiate and initialize each matrix object:
+ // Initialize each matrix object:
for(i=0; i<4; i++) {
- matrix[i] = Adafruit_8x8matrix();
matrix[i].begin(pgm_read_byte(&matrixAddr[i]));
}

4 comments on commit f141f14

@fel3000ft

i have no clue what im doing and now im just at my wits end how do i get the code and apply it to my adruino from my mac i just dont understand any of this

@fel3000ft

i got the wave shield to run but when i try to get the code from get hub it comes up empty

@PaintYourDragon

Please visit the Adafruit Customer Support Forums -- forums.adafruit.com -- for assistance getting this working; Github notes are generally for bug reports.

But if it's any help...after downloading the .ZIP and uncompressing, try renaming the two ".pde" files to end in ".ino" instead, see if that improves the situation; you should be able to double-click them (the Arduino IDE will ask to put them in a folder, this is normal and OK).

@fel3000ft
Please sign in to comment.
Something went wrong with that request. Please try again.