Skip to content
Snippets Groups Projects
Commit 89eac910 authored by Pico3's avatar Pico3
Browse files

Send duty_cycle with the data and the setpoint.

parent 79b28269
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
*/
//** CONSTANTS PARAMETERS change for your application **//
const String version = "1.3.0"; // Version of this script. Filename is added before, date of compilation afterwards.
const String version = "1.3.1"; // Version of this script. Filename is added before, date of compilation afterwards.
const int cyclePeriod = 1; //program cycle period in s
const int controlPin = 11; //Pin by which the control unit is controlled (11 or 12)
......@@ -287,6 +287,8 @@ void sendSensorDataLast(){
Serial.print(sensor5Value, precision);
Serial.print("\t");
Serial.print(setpoint, precision);
Serial.print("\t");
Serial.print(duty_cycle, precision);
Serial.println();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment