Thats great thank you so much. I guess the loop you've written just replaces the one i already had but i just need to suit it to the sensor using the hysteresis values?
Thats great thank you so much. I guess the loop you've written just replaces the one i already had but i just need to suit it to the sensor using the hysteresis values?