pimoroni-pico/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
..
CMakeLists.txt Libraries and examples for Automation 2040 W (#418) 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
automation2040w_read_adcs.cmake Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_read_adcs.cpp Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_read_inputs.cmake Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_read_inputs.cpp Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_switches_and_leds.cmake Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_switches_and_leds.cpp Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_toggle_outputs.cmake Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_toggle_outputs.cpp Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_toggle_relays.cmake Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00
automation2040w_toggle_relays.cpp Libraries and examples for Automation 2040 W (#418) 2022-07-01 07:05:37 +01:00

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.