I have problems when compiling/verifying a code. The error is "'prog_uchar' does not name a type" when he's at
#include "mont.h"
long started =0;
int ticks = 0;
prog_uchar *pc;
// visualize voice (v) at amplitude (a) on an 8x8 grid
the detailed error is
Arduino: 1.6.5 (Mac OS X), Platine: "Arduino Uno"
In file included from singingPlant.ino:3:0:
/Users/benell/Documents/Arduino/libraries/Gameduino_midified_to_pin4/GD.h:51:39: error: 'prog_uchar' has not been declared
static void copy(unsigned int addr, prog_uchar *src, int count);
^
/Users/benell/Documents/Arduino/libraries/Gameduino_midified_to_pin4/GD.h:62:25: error: 'prog_uchar' has not been declared
static void microcode(prog_uchar *src, int count);
^
/Users/benell/Documents/Arduino/libraries/Gameduino_midified_to_pin4/GD.h:63:45: error: 'prog_uchar' has not been declared
static void uncompress(unsigned int addr, prog_uchar *src);
^
In file included from singingPlant.ino:5:0:
mont.h:1: error: 'prog_uchar' does not name a type
static PROGMEM prog_uchar mont[] = {
^
singingPlant:8: error: 'prog_uchar' does not name a type
singingPlant.ino: In function 'void setup()':
singingPlant:82: error: 'pc' was not declared in this scope
singingPlant:82: error: 'mont' was not declared in this scope
singingPlant.ino: In function 'void loop()':
singingPlant:143: error: 'pc' was not declared in this scope
singingPlant:143: error: 'mont' was not declared in this scope
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0,
from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/SPI.h:17,
from singingPlant.ino:2:
singingPlant:157: error: 'pc' was not declared in this scope
singingPlant:170: error: 'pc' was not declared in this scope
singingPlant:173: error: 'pc' was not declared in this scope
singingPlant:178: error: 'pc' was not declared in this scope
'prog_uchar' does not name a type
Dieser Report hätte mehr Informationen mit
"Ausführliche Ausgabe während der Kompilierung"
aktiviert in Datei > Einstellungen
Do I have to modify the files somehow?
Got the code over here: http://www.instructables.com/id/Singing-plant-Make-your-plant-sing-with-Arduino-/?ALLSTEPS