This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PWM hardware used to blink/fan 16 leds with driver

Hello

i have made a program to smoothly blink/fan/vary the intensity of 16 LEDs together using 4 PWM with 4 output pins, the program seems to work well with around 4 leds, but when i attach more LEDs like 8, the other leds start to blink in a abnormal manner. Just wanted to know why it is happening like this? is it somewhat related to optimal output power of the nrf52, or maybe some mistake in code. Also the leds have led drivers attached and external power source. i just have to give 16 pwm signals to them.

i have used the pwm hardware as is recommended for smoother variation.

link to zip-

drive.google.com/.../view

Related