 #include <SPI.h>
+#include <math.h>
 
 // testing a stepper motor with a Pololu A4988 driver board or equivalent
 // on an Uno the onboard led will flash with each step


void loop() {
  digitalWrite(13, HIGH);
  Serial.println(analogRead(thermNozzle));
  delay(100);
  digitalWrite(13, LOW);
  delay(50);
}

float upTime = 0.5; //sec
int platTime = 4; //sec
int thermNozzle = 0;
int fan0 = 8;
const int BETA = 4267;
const float R_ZERO = 100000.0;
const float TO_VOLTS = 5.0/1024.0;
const float R_INF = R_ZERO*exp(1.0*-BETA/298.0);
void setup() {
  pinMode(13, OUTPUT);
  pinMode(fan0, OUTPUT);
  analogWrite(fan0, 0);
  Serial.begin(9600);

//  pinMode(slaveSelectPin, OUTPUT);
