 int fan0 = 8;
 int fan2 = 2;
 int readySig = 70;
-const int BETA = 4092; // 4092 is the Beta for TDK 100k Epcos Therm #8304
+const int BETA = 3950;//4092; // 4092 is the Beta for TDK 100k Epcos Therm #8304
                         // 4267 is the Beta from the Semitec 104GT-2
 const float R_ZERO = 100000.0; // Resistance at 25C
 const float TO_VOLTS = 5.0/1024.0; // 5V board power / 1024 10bit range

//  analogWrite(fan2, 0);
  Serial.begin(9600);

  SetTunings(50, 1, 9); // Sets the initial PID parameters

//  pinMode(slaveSelectPin, OUTPUT);
//  SPI.begin();

int outMin = 0; // The min output value, 0 is fully off
int outMax = 255; // the max output value, 255 is the max for PWM

String inString;

void setup() {
  pinMode(13, OUTPUT);
  pinMode(fan0, OUTPUT);
