So my current set up for my Arduino Duemilanove is 2 buttons 3 LED a Fan and a Temp sensor
int sensorPin0 = 0, ledPin = 9, sensorPin = 3, x = 0, press=0, press2=0, sensorPin2=10, Th=25,Tl=23;
Is that sensor connected to sensorPin, sensorPin0, or sensorPin2? Why not actually use meaningful names?
Why don't these pins get meaningful names?
int reading= digitalRead(sensorPin);
Which sensor is this that is being read?
No matter how long the switch (I'm assuming that the "sensor" is really a switch) is held down, x is only incremented once. Is that what you want to have happen?
my code is set to run the speed of the fan at a certain speed depending on the temp
The only pin that has a non-constant output is the one in the variable named ledPin. Do you have an LED or a fan connected to that pin?
every time my temp either gets too hot or i lower my set point too low my arduino stops reading values and my graph stops giving me data
So, every time pin 7 is set HIGH, the program stops outputting serial data. What is connected to pin 7?