pimoroni-pico/examples/automation2040w
..
CMakeLists.txt
README.md
automation2040w_read_adcs.cmake
automation2040w_read_adcs.cpp
automation2040w_read_inputs.cmake
automation2040w_read_inputs.cpp
automation2040w_switches_and_leds.cmake
automation2040w_switches_and_leds.cpp
automation2040w_toggle_outputs.cmake
automation2040w_toggle_outputs.cpp
automation2040w_toggle_relays.cmake
automation2040w_toggle_relays.cpp

README.md

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.