Hello friends. Today I want to control the brightness of the power leds in the fish tank. I saw this topic in this forum but I couldn't be sure of myself so i decided to ask you. I decided to use the Mean Well LDD-350H model.
**Does this work? Can you help me? **
int pwm = 3;
int a = 0;
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
for(a=0;a<255;a++)
{
analogWrite(pwm, a);
delay (1000);
}
}
The fade effect will vary by how much you increment x each time (1, 5, 10, etc.) and the delay amount (in milliseconds).
I want to bother you once again.
LDD-350H is a DC-DC Step down LED driver and I think I need to step up driver. I think this is more good for me. LDH-45A-350 What is your opinion ?