This topic has been moved to Programming Questions.
https://forum.arduino.cc/index.php?topic=449633.0