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