1.6 KiB
1.6 KiB
Automation 2040 W Micropython Examples
Function Examples
Read ADCs
Shows how to read the 3 ADC terminals of Automation 2040 W.
Read Inputs
Shows how to read the 3 Input terminals of Automation 2040 W.
Toggle Relays
Demonstrates how to toggle the actuation state of each of Automation 2040 W's relays.
Toggle Outputs
Demonstrates how to toggle each of Automation 2040 W's output terminals.
Switches and LEDs
An example of the user switches and LEDs on Automation 2040 W.
Reset Automation
A simple program that resets Automation 2040 W, turning off its Relays, Outputs, and LEDs.
Wireless Examples
The wireless examples need network_manager.py
and WIFI_CONFIG.py
from the common
directory to be saved to your Pico W. Open up WIFI_CONFIG.py
in Thonny to add your wifi details (and save it when you're done).
Web IO Interface
Provides a basic web interface for all your Automation 2040W features.
Needs lib/tinyweb
from common
!