Hansastro / Focuser

Focuser for Astronomy based on Arduino (usable by Indi)
GNU General Public License v3.0
22 stars 12 forks source link

Initialisation of the temperature sensor wrong #5

Closed Hansastro closed 7 years ago

Hansastro commented 7 years ago

The write temperature is written only after the first integration loop is finished.

A first read of the temperature must be done to avoid wrong value before the first integration loop.

Hansastro commented 7 years ago

Read the analog pin value in the constructor does not seem to work. An impossible init value should be set and checked in Manage or integrateTemperature