
203Chapter 7: Sensors
There are also LEDs that can light in multiple
colors like an RGB LED. These LEDs have four
pins—three that correspond to each color and a
fourth that is either a common anode (meant to
connect to power) or a common cathode (meant
to connect to ground). The color the LED displays
depends on the intensity of the PWM signal of
each color pin.
There are a variety of ways to wear LEDs,
whether for safety, style, or making a statement.
Basic LEDs are just one way to get started with
illuminated clothing. In the following sections,
I review additional tools that can be used to
create wearable light.
RGB through-hole LED
Circuit diagram ...