you probably know this but just in case: 38kHz is way too fast for human eye so if PWM duty cycle/ratio is too low LED will just seem dim or off all the time.
you probably know this but just in case: 38kHz is way too fast for human eye so if PWM duty cycle/ratio is too low LED will just seem dim or off all the time.