Here is the copy and paste version. and again thank you.
Unrelated question: how do you get your vehicle to show up in the signature area of your posts?
Matt
Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno"
mpguino:524: error: 'prog_char' was not declared in this scope
char * getStr(prog_char * str){
^
mpguino:524: error: 'str' was not declared in this scope
char * getStr(prog_char * str){
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * parmLabels[]={"Contrast","VSS Pulses/Mile", "MicroSec/Gallon","Pulses/2 revs","Timout(microSec)","Tank Gal * 1000","Injector DelayuS","Weight (lbs)","Scratchpad(odo?)","VSS Delay ms"};
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:14:191: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
mpguino:276: error: 'prog_char' does not name a type
prog_char * displayFuncNames[displayFuncSize];
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void setup()':
mpguino:278: error: redefinition of 'void setup()'
void setup (void){
^
mpguino:1: error: 'void setup()' previously defined here
void setup() {
^
mpguino:282: error: 'displayFuncNames' was not declared in this scope
displayFuncNames[x++]= PSTR("Custom ");
^
mpguino:309: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(PSTR("OpenGauge ")));
^
mpguino:311: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(PSTR(" MPGuino v0.75")));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void loop()':
mpguino:346: error: redefinition of 'void loop()'
void loop (void){
^
mpguino:6: error: 'void loop()' previously defined here
void loop() {
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:371:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
simpletx(",");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:373:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
simpletx(",");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:375:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
simpletx(",");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:377:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
simpletx(",");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:379:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
simpletx("\n");
^
mpguino:414: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(PSTR("Setup ")));
^
mpguino:421: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(PSTR("Tank Reset ")));
^
mpguino:424: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(PSTR("Current Reset ")));
^
mpguino:430: error: 'displayFuncNames' was not declared in this scope
LCD:
rint(getStr(displayFuncNames[screen]));
^
mpguino:430: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(displayFuncNames[screen]));
^
mpguino:434: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(PSTR("Brightness ")));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:436:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
mpguino:439: error: 'displayFuncNames' was not declared in this scope
LCD:
rint(getStr(displayFuncNames[screen]));
^
mpguino:439: error: 'getStr' cannot be used as a function
LCD:
rint(getStr(displayFuncNames[screen]));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: At global scope:
mpguino:524: error: redefinition of 'char* getStr'
char * getStr(prog_char * str){
^
mpguino:524: error: 'char* getStr' previously defined here
char * getStr(prog_char * str){
^
mpguino:524: error: 'prog_char' was not declared in this scope
char * getStr(prog_char * str){
^
mpguino:524: error: 'str' was not declared in this scope
char * getStr(prog_char * str){
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void doDisplayBigInstant()':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:540:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
void doDisplayBigInstant() {bigNum(instantmpg(),"INST","MPG ");}
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:540:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void doDisplayBigCurrent()':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:541:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
void doDisplayBigCurrent() {bigNum(current.mpg(),"CURR","MPG ");}
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:541:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void doDisplayBigTank()':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:542:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
void doDisplayBigTank() {bigNum(tank.mpg(),"TANK","MPG ");}
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:542:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void doDisplaySystemInfo()':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:547:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,0);LCD:
rint("C%");LCD:
rint(forma t(maxLoopLength*1000/(looptime/100)));LCD:
rint(" T"); LCD:
rint(format(tank.time()));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:547:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,0);LCD:
rint("C%");LCD:
rint(forma t(maxLoopLength*1000/(looptime/100)));LCD:
rint(" T"); LCD:
rint(format(tank.time()));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:550:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,1);LCD:
rint("FREE MEM: ");LCD:
rint(format(mem));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void tDisplay(void*)':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:563:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,0);LCD:
rint("MH");LCD:
rint(forma t(t->mph()));LCD:
rint("MG");LCD:
rint(format(t->mpg()));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:563:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,0);LCD:
rint("MH");LCD:
rint(forma t(t->mph()));LCD:
rint("MG");LCD:
rint(format(t->mpg()));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:564:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,1);LCD:
rint("MI");LCD:
rint(forma t(t->miles()));LCD:
rint("GA");LCD:
rint(format(t->gallons()));
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:564:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD::gotoXY(0,1);LCD:
rint("MI");LCD:
rint(forma t(t->miles()));LCD:
rint("GA");LCD:
rint(format(t->gallons()));
^
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from sketch\mpguino.ino.cpp:1:
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void LCD::init()':
mpguino:618: error: variable 'chars' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
static byte chars[] PROGMEM ={
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void bigNum(long unsigned int, char*, char*)':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:910:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * r = "009.99"; //default to 999
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:920:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:922:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:924:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:929:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:933:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino: In function 'void editParm(byte)':
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:1114:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" ");
^
C:\Users\Matt\Documents\Arduino\libraries\mpguino\ mpguino.ino:1120:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
LCD:
rint(" OK XX");
^
exit status 1
'prog_char' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.