There may be issues with all the recipes in this chapter. In this last section of the chapter, we are going to look at the most common issues that can arise with hardware devices and also how to solve them.
If you correctly loaded the sketch, this is most probably a connection problem between the relay and the board, so check the connections first.
Then, also check that the relay is working correctly. To do that, disconnect the signal pin from the Galileo board, and connect it directly to the 5V pin on the Galileo board. Use a breadboard if needed. If the relay doesn't turn on, it means that you have a defective relay that needs to be changed.