 //initialize pump related variables. 
 int pin4Relay = 4;  //pin4 reserved for optional additional relay to control a pump or master valve
 boolean isConfigPump = false; // if true, relay16 is used as the pump/master valve switch.  Can be toggled by device tye v2.7 and later
-char* configPumpStatus = "off";
-char* pin4PumpStatus= "off";
+const char* configPumpStatus = "off";
+const char* pin4PumpStatus= "off";
 boolean doUpdate = false;
 boolean doPumpUpdate = false;
 

/**
* 
 ****************************************************************************************************************************
 * Irrigation Controller 16 Zones With Options for Master Valve and Pump  v1
 * Simple, elegant irrigation controller that takes advantage of the cloud and SmartThings ecosystem
 * Arduino MEGA with SmartThings Shield  and 16 relay modules
 * Works by receiving irrigation run times from the Cloud and then builds a queue to execute

#include <SmartThings.h>  //be sure you are using the library from ST_ANYTHING which has support for the Arduino Mega
#include <Event.h>
#include <Timer.h>
SmartThingsCallout_t messageCallout;    // call out function forward decalaration
SmartThings smartthing(HW_SERIAL3, messageCallout);  // constructor

//user configurable global variables to set before loading to Arduino
int relays = 16;  //set up before loading to Arduino (max = 16 with current code and assumes last relay is a master valve/pump actuator)
