My temperature readout for a 3d printer. with alarm

Ya. I def had the stEpper driver too high. .650v instead of .4. It was my extruder motor. Mistakes suck. But I figured why not have a backup. Also, if I add a wire to the alarm pin on the arduino, plug that into a pin on the ramps, change some code and have a temp sensor pause.... I was just tinkinering around learning code... so, good start would be this.....
How does the code look.?