Closed brentru closed 5 years ago
The setValue function is currently set up to handle decimal precision for floats and doubles, but the precision is only used on ESP8266 targets.
setValue
This functionality should also be extended to (and tested on) AVR/SAMD hardware
Float: https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/src/AdafruitIO_Data.cpp#L179 Double: https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/src/AdafruitIO_Data.cpp#L198
Closing, merged into master and added to release.
The
setValue
function is currently set up to handle decimal precision for floats and doubles, but the precision is only used on ESP8266 targets.This functionality should also be extended to (and tested on) AVR/SAMD hardware
Float: https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/src/AdafruitIO_Data.cpp#L179 Double: https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/src/AdafruitIO_Data.cpp#L198