add writeMemory to facade, remove debug output from platform

This commit is contained in:
Thomas Kunze
2018-09-15 00:22:30 +02:00
parent 6334bfe3cb
commit dc362a79c3
5 changed files with 14 additions and 7 deletions

View File

@@ -34,18 +34,18 @@ void measureTemp()
currentValue *= 100 * 100;
// write new value to groupobject
goCurrent.objectWriteFloat(currentValue);
goCurrent.objectWriteFloatDpt9(currentValue);
if (currentValue > maxValue)
{
maxValue = currentValue;
goMax.objectWriteFloat(maxValue);
goMax.objectWriteFloatDpt9(maxValue);
}
if (currentValue < minValue)
{
minValue = currentValue;
goMin.objectWriteFloat(minValue);
goMin.objectWriteFloatDpt9(minValue);
}
}