 
   /* Here we calculate the thermistor’s resistance using the equation
      discussed in the article. */
-  rThermistor = BALANCE_RESISTOR * ( (MAX_ADC / adcAverage) - 1);
+  rThermistor = balanceResistor * ( (MAX_ADC / adcAverage) - 1);
 
   /* Here is where the Beta equation is used, but it is different
      from what the article describes. Don't worry! It has been rearranged

#include <Ethernet.h>

// Input pins
const int insideTempPin = A0;
const int photoresistorPin = A1;
const int thermistorPin = A2;

// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:

                                    |
                               Analog Pin
*/
double readThermistor(int thermistorPin, double balanceResistor, double beta) {
  // variables that live in this function
  double rThermistor = 0;            // Holds thermistor resistance value
  double tKelvin     = 0;            // Holds calculated temperature
