Controlling LED brightness with a PWM signal to LED driver

5V PWM with 24V source