Temperaturzuordnung

Konstruiert und fotografiert von Patrick P.
Hochgeladen am 8.6.2009, 23:39 von Patrick P.  7 / 8

Schlagworte: Temperatur, Temperaturzuordnung, Hilfe, Programm, programmieren.

Hier ist eine meiner neuesten Programme:

Damit könnte ich dem Analog in der einen Liste eine Tmperatur zuweisen, aber das klappt leider nicht.

Kann mir da vielleicht jemand helfen? Weil ich kann das Foto ja nicht im Forum ausstellen, wenn es nicht schon ins Internet hochgeladen ist.

Wenn ich euch das Programm schicken soll, damit ihr mir vielleicht helfen könnt werde ich das natürlich auch tun.

Euer Patrick P.

Ad (9.6.2009, 13:36:53)

I understand that you want to do a search in the Analogwert list (the number of list items is less than the number of analog values). So the value at the output of the list has to track the analog value. When the value is too low you increase the index (that is correct for an ascending list). But when it is êqual or too high you also increase the index (that is wrong), you should decrease it (too high) or maintain it (equal). When you change the +0 command into -2 it will already work better. The Anzeige however will keep toggling between the two nearest values.