2.21 Relay Module¶
In this lesson, you will learn about Relay Module.
In this example, we use Power Supply Module to power the load，use LED as an example.
Once the codes are uploaded to the Mega2560 board, you can see that the Relay Module controls the closing and breaking of the external circuit, which will change its working state a second. For detailed code explanation, refer to 1.2 Digital Write.