Arduino-PID-Library icon indicating copy to clipboard operation
Arduino-PID-Library copied to clipboard

Realy example problem

Open sjunnesson opened this issue 12 years ago • 1 comments

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){

sjunnesson avatar Jul 22 '13 14:07 sjunnesson

Thanks! once I added the:

pinMode(RelayPin, OUTPUT);

I ran into this problem too. making it > fixed it

kelna2 avatar May 25 '14 19:05 kelna2