Ejemplo n.º 1
0
static void reportFanParams(void)
{
  print_P(PSTR("HMFN" CSV_DELIMITER));
  SerialX.print(pid.getFanMinSpeed(), DEC);
  Serial_csv();
  SerialX.print(pid.getFanMaxSpeed(), DEC);
  Serial_csv();
  SerialX.print(pid.getServoMinPos(), DEC);
  Serial_csv();
  SerialX.print(pid.getServoMaxPos(), DEC);
  Serial_csv();
  SerialX.print(pid.getOutputFlags(), DEC);
  Serial_csv();
  SerialX.print(pid.getFanMaxStartupSpeed(), DEC);
  Serial_csv();
  SerialX.print(pid.getFanActiveFloor(), DEC);
  Serial_csv();
  SerialX.print(pid.getServoActiveCeil(), DEC);
  Serial_nl();
}
Ejemplo n.º 2
0
static void storeFanMaxSpeed(unsigned char fanMaxSpeed)
{
  pid.setFanMaxSpeed(fanMaxSpeed);
  config_store_byte(fanMaxSpeed, pid.getFanMaxSpeed());
}