GridWorks micropython code for sensors/actuators running on a Raspberry Pi Pico W.
- Plug in the Pico to a computer and open Thonny
- Create a new file
- Copy and paste the content of the provided
provisioner.py
in that new file - Run the file and answer the prompts in Thonny's shell
- Add this Pico to the device registry
- Option 1:
- Unplug the Pico from the computer
- Plug the Pico to a new power source
- Option 2:
- Hit the stop button
- Close all open windows
- Open
main.py
and run it
- In both cases, the Pico should show up in the
api
tmux session and communicate its parameters