Skip to content

Files

Latest commit

a24f835 · Feb 13, 2025

History

History

examples

README.md

Sparkfun RELAY Examples Reference

Below is a brief summary of each of the example programs included in this repository. To report a bug in any of these examples or to request a new feature or example submit an issue in our GitHub issues..

NOTE: Any numbering of examples is to retain consistency with the Arduino library from which this was ported.

Qwiic Relay Ex1 Single

Example that shows the basics of using the single relay.

The key methods showcased by this example are:

Qwiic Relay Ex2 Dual

Example that shows the basics of using the dual relays.

It shows how to pass parameters to get_relay_state()

Qwiic Relay Ex3 Quad

Example that shows the basics of using the quad relays.

Qwiic Relay Ex4 Pwm

Example that shows how to set and get the slow PWM value

The key methods showcased by this example are: