Permalink
Browse files

change serial output to csv format

  • Loading branch information...
1 parent a64253d commit 94ff026da7ed4487359dc4b28ff7ef066b8bc069 @landis committed May 12, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 reflow_oven/reflow_oven.ino
@@ -270,11 +270,11 @@ void loop()
timerSeconds++;
// Send temperature and time stamp to serial
Serial.print(timerSeconds);
- Serial.print(" ");
+ Serial.print(",");
Serial.print(setpoint);
- Serial.print(" ");
+ Serial.print(",");
Serial.print(input);
- Serial.print(" ");
+ Serial.print(",");
Serial.println(output);
}
else
@@ -323,7 +323,7 @@ void loop()
if (input <= TEMPERATURE_ROOM)
{
// Send header for CSV file
- Serial.println("Time Setpoint Input Output");
+ Serial.println("Time,Setpoint,Input,Output");
// Intialize seconds timer for serial debug information
timerSeconds = 0;
// Initialize PID control window starting time

0 comments on commit 94ff026

Please sign in to comment.