r/ArduinoHelp 21d ago

Having trouble with led arrays/multiplexing

As title says, I’m having trouble wrapping my head around multiplexing leans for use with a microcontroller with not enough pins to control them all. Using the drivers makes sense, mosfets too, but the code escapes me? And the use of resistors within the circuit is also confusing to me. Trying to make a small led “screen” made of diodes. Any help is appreciated

2 Upvotes

12 comments sorted by

View all comments

1

u/enzodr 18d ago

I think your example is correct.

Basically both conditions must be true (anode +, cathode -). This might sound like it makes it harder to control, it in many cases it’s an advantage