Cannot get StamPLC to run main.py
-
Hello,
I am trying to program an extremely simple PLC setup that reacts to two prox sensors and toggles relay one based on rising and falling actions.
I have the logic laid out perfectly, and have even tried several different ways to achieve the same thing.
However, when I upload to StamPLC, the program works until device reboot, then it will not work at all until I reupload the program.
Any ideas? I've been stuck for days trying to get the thing to work, and I need to wrap up this project for work
-
@tiditidi
You gotta push the download button to permanetly flash the code to the device:
-

Run - doesn't flash your code to device memory - also uses wifi settings made in M5burner
Download - flashes your code so it is in device after reboot - if you need wifi then such blocks must be in the code too as device will not be visible for uiflow2 after reboot without wifi blocks