"First stable ModbusRTU and ModbusTCP compiled

This commit is contained in:
Emmanuel HC
2025-09-29 15:49:31 -05:00
parent 252b7e839a
commit bb6c7575bf

View File

@@ -45,6 +45,6 @@ float SingleValueStrategy::execute(float currentValue) {
int noiseInt = rand() % 201;
noiseInt -= 100;
float noise = (static_cast<float>(noiseInt) / 100) * _noiseMagnitude;
Serial.println("Single value strategy with noise.");
Serial.printf("Single value strategy with noise. %f \n", noise);
return _setpoint + noise;
}