pimoroni-pico/micropython/examples/automation2040w
ZodiusInfuser d9d8f4417a
Libraries and examples for Automation 2040 W (#418)
* Libraries and examples for Automation 2040 W

* Fix for initialisation error
2022-07-01 07:05:37 +01:00
..
README.md Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
read_adcs.py Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
read_inputs.py Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
reset_automation.py Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
switches_and_leds.py Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
toggle_outputs.py Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
toggle_relays.py Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00

README.md

Automation 2040 W Micropython Examples

Function Examples

Read ADCs

read_adcs.py

Shows how to read the 3 ADC terminals of Automation 2040 W.

Read Inputs

read_inputs.py

Shows how to read the 3 Input terminals of Automation 2040 W.

Toggle Relays

toggle_relays.py

Demonstrates how to toggle the actuation state of each of Automation 2040 W's relays.

Toggle Outputs

toggle_outputs.py

Demonstrates how to toggle each of Automation 2040 W's output terminals.

Switches and LEDs

switches_and_leds.py

An example of the user switches and LEDs on Automation 2040 W.

Reset Automation

reset_automation.py

A simple program that resets Automation 2040 W, turning off its Relays, Outputs, and LEDs.