pimoroni-pico/examples/automation2040w/README.md

1.1 KiB

Automation 2040 W C++ Examples

Function Examples

Read ADCs

automation2040w_read_adcs.cpp

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

Read Inputs

automation2040w_read_inputs.cpp

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

Toggle Relays

automation2040w_toggle_relays.cpp

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

Toggle Outputs

automation2040w_toggle_outputs.cpp

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

Switches and LEDs

automation2040w_switches_and_leds.cpp

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