controlling existing LEDs on a pcb - Raspberry Pi Forums


i want reuse leds on old modem. problem following:
+ on leds shared on line. ground individual leds.
if other way around connect each individual + on leds gpio-pins on pi , wire 1 of grounds ground on pi.
have idea how can solve this? connect each led indivdual gpio + ground i'd activate other leds shortened together.

connect + 3.3v, connect - of each led gpio via suitable resistor. when gpio high (on/1) led off. when gpio low (off/0) led on.

have reverse logic in program turn gpio off turn led on.


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'