Fixed graphing problem for PMS5003 results
authorKostadin <kostadinvo+github@gmail.com>
Sat, 26 Oct 2019 10:26:47 +0000 (13:26 +0300)
committerKostadin <kostadinvo+github@gmail.com>
Sat, 26 Oct 2019 10:26:47 +0000 (13:26 +0300)
commit426f1cbc68f7644f700066c5bc1068c518e8ca10
tree09ce355ff77543b6b23a39016b6380451ae65209
parentbca04496c248701cca287451021eed9f3c7389ed
Fixed graphing problem for PMS5003 results

The PMS5003 library returns integers. This causes the current formula for color scaling of the graph to not work properly because of integer division instead of float division. Converting the PMS5003 results from int to float solves the problem.
examples/all-in-one.py