2025-01-23 02:20 PM - edited 2025-01-23 02:20 PM
Hello all
I am experimenting with driving a 4*8 LED matrix with a Nucleo STM32-F410RB board. I am trying to save GPIO pins by driving the LEDs as a matrix. The schematic and example is attached below.
I'm not very experienced with PWM generation so I used the basic timer TIM6 interrupt for driving the matrix. The setup seems to work, but at low brightness settings the LEDs tend to flicker a bit. My question is: are there some better/more effective ways to achieve a stable LED matrix output? Any suggestions are welcome.
Thanks in advance!