      better at algebra. And if not, just use what is shown here and take it
      for granted or input the formula directly from the article, exactly
      as it is shown. Either way will work! */
-  tKelvin = (BETA * ROOM_TEMP) /
-            (BETA + (ROOM_TEMP * log(rThermistor / RESISTOR_ROOM_TEMP)));
+  tKelvin = (beta * ROOM_TEMP) /
+            (beta + (ROOM_TEMP * log(rThermistor / RESISTOR_ROOM_TEMP)));
 
   /* I will use the units of Celsius to indicate temperature. I did this
      just so I can see the typical room temperature, which is 25 degrees

#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
