Open ClemensGruber opened 4 years ago
>>> round(5.12345, 2)
5.12
>>> round(5.98765, 2)
5.99
sollte hiermit gefixt sein: https://github.com/Hiverize/FiPy/commit/6829536898d919aff2da1f2d72ec5a639467b42a
bei den Gewichtswerten passt noch etwas nicht, s. https://community.hiveeyes.org/t/verbesserung-der-stabilitat-der-bob-firmware/2957/128
Rounding is done by value / 10 * 1 0 so it's not correct implemented, better use a round function