Hi,
I'd like my Pico W to boot up - do an API Rest call to my server, retriver the "Sensor.py" file - save it locally on the Pico W and then execute the file.
Is that possible?
Should I have my "get file" code in the boot.py? And save the sensor.py as main.py?
My goal is to have the Pico W get the latest version of its code everytime it reboots
Any sample projects that I can look at?
// Lazzerman
I'd like my Pico W to boot up - do an API Rest call to my server, retriver the "Sensor.py" file - save it locally on the Pico W and then execute the file.
Is that possible?
Should I have my "get file" code in the boot.py? And save the sensor.py as main.py?
My goal is to have the Pico W get the latest version of its code everytime it reboots
Any sample projects that I can look at?
// Lazzerman
Statistics: Posted by Lazzerman — Sat Apr 27, 2024 8:18 am