Arduino-PID-Library
Arduino-PID-Library copied to clipboard
Realy example problem
First thanks for a great library. It helped me cook a great steak yesterday. :)
To get it working with my setup I had to modify it some though.
My setup is a temperature sensor (DS1820) that reads celsius and sets the Input variable each loop to the last read temperature.
To get it working with my solid state relay I had to change the less than sign to a greater than sign like below. Not sure of this is just a typo from your side or unique to my setup.
if(Output > millis() - windowStartTime){
Thanks! once I added the:
pinMode(RelayPin, OUTPUT);
I ran into this problem too. making it > fixed it