I Keep getting errors when I try to upload

I replaced the value with 125. still same problem.

So, try a much smaller value, at least temporarily. If you set it to 25, and things work, increase from there. If not, you may have a hardware problem, or the problem is elsewhere in your code.

same problem with 25. Im pretty sure its a coding problem. I keep getting "Temp Trigger 1" flash o nthe screen so im gonna assume theres an error in this part of the code.

/** LCD Shield            */
serLCD lcd(13); // use both lines
char buf[5]; //used in conversion of int to char for lcd

int configure = 0; //use select as an on/off for configuring
int showReading = 0; //select which value to modify  0-3
int adc_key_in = 1024; //Start with -1 key value

int adc_key_val[5] = {
  100, 160, 360, 770, 800 }; //Analog values from Keys on keypad shield

/*
int adc_key_val[5] = {
 65, 218, 393, 601,1000};
 */
int NUM_KEYS = 5;
int key= -1;

char trigger_names[4][15] = {   
  "Temp Trigger 1",
  "Temp Trigger 2",
  "Humid Trigger",
  "C02 Trigger" };

/* Set up index value for storing values in eeprom*/
int k=0;

I keep getting "Temp Trigger 1" flash o nthe screen so im gonna assume theres an error in this part of the code.

The only thing in that part of the code that jumps out is the useless comments.

Post (again) all of your code. As an attachment (click Additional Options... - it is selectable), if it won't fit all in one post.

thats the code with all my edits. the original code can be found here:

or more specifically:

http://www.instructables.com/files/orig/FMK/3BR4/GAPURHM2/FMK3BR4GAPURHM2.tmp

Mushroom.ino (16.1 KB)