On start up the output of the RC will be unpredictable. So add a start delay before init: begin with "pause 1000" and adjust by testing the result. This also applies to ADC all sensors I have used require a start delay for the reading to stabilise.
On start up the output of the RC will be unpredictable. So add a start delay before init: begin with "pause 1000" and adjust by testing the result. This also applies to ADC all sensors I have used require a start delay for the reading to stabilise.
Steve Earl www.datageo.co.uk
Bookmarks