This repository was archived by the owner on Jul 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
LED
alienzhangyw edited this page Apr 25, 2020
·
4 revisions
You can read the instructions about Raspberry Pi GPIO here.
BlockPi uses BCM numbering to control GPIO ports.
You can use jumper wires to connect the LED directly to the GPIO ports, or you can use a bread board or an expansion HAT.
I use an IO Expansion HAT from DFRobot.
Connect the LED's longer foot to a GPIO port and the shorter foot to GND。
or
or
You can also use a RGB LED module to do this.