Skip to content

printPidTuner function reference

Dlloydev edited this page Feb 1, 2022 · 3 revisions

The printPidTuner function provides some control over when and how to display results on the serial plotter.

void printPidTuner(uint8_t everyNth);
  • setpoint parameter sets the setpoint value for the plotter

  • everyNth will print every n samples, which compresses the x-axis in order to completely view the full test.

  • Theaverage parameter when set true will print the average of the input values from the buffer. When false, the instantaneous input values are used.

image