
If everything worked, the LED should have turned off.
Connecting a Lamp
Of course, a tiny little LED isn’t going to give off enough light to fool
burglars into thinking that you’re home, so let’s hook up a lamp to
the Raspberry Pi:
1. Remove the LED connected to pin 25.
2. Connect two strands of hookup wire to the breadboard, one
that connects to pin 25 of the Raspberry Pi and the other to the
ground bus.
3. The strand of wire that connects to pin 25 should be connected
to the “+in” terminal of the PowerSwitch Tail.
4. The strand of wire that connects to ground should be con-
nected to the “-in” terminal of the PowerSwitch Tail. Compare
your ...