Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change serial output to csv format

  • Loading branch information...
commit 94ff026da7ed4487359dc4b28ff7ef066b8bc069 1 parent a64253d
@landis authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 reflow_oven/reflow_oven.ino
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.