amuttsch / multiqlock

Automatically exported from code.google.com/p/multiqlock
0 stars 0 forks source link

plugin_Temperature.cpp #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In Zeile 43 steht   

double temp = analogRead(temperatureInputPin * 4.9 / 1000); // FALSCH

sollte das nicht so lauten:

double temp = analogRead(temperatureInputPin) * 4.9 / 1000; // RICHTIG

...ansonsten kommen für °C vierstellig, negative Zahlen raus, dadurch werden 
alle Berechnungen falsch!

Gruß
Patrick

Original issue reported on code.google.com by patrick....@gmx.de on 8 Jun 2011 at 7:44

GoogleCodeExporter commented 9 years ago
Hallo Patrick,

habe den Code geändert, wird in der nächsten Version drin sein.

Gruß Andreas

Original comment by asfa...@googlemail.com on 16 Jun 2011 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by asfa...@googlemail.com on 29 Dec 2011 at 8:28