That LED will already have a resistor built-in, as it has been designed to be operated with just a simple 12v supply.
As has already been mentioned, you really need a PWM supply whereby you can alter the duty cycle to control the brightness.
Depending on what you are trying to achieve, I'd take a look at an Arduino (Mini Pro is small, but a standard Nano has a USB socket for ease of programming), they are very small and can be programmed with lots of helpful information available on the internet.
Last edited by neilbaker86; 18th February 2019 at 11:44..
|