Go Down

Topic: plafoniera: alimentazione e cavi di controllo (Read 2 times) previous topic - next topic

zioTonino


questo non parla di PWM
Quote
il driver è questo:
http://www.bizetashop.it/shop/20000-alimentazioneeaccessori/24000-driverled/24200-inputdc/driver-lineare-cc-1000ma-drv-uldo-1000ma


non so perchè non ne parli, ma se apri l'img. noterai che in alto a sx c'è la basetta PWM...

Brunello

l'hai collegato cosi' ?


Domanda:  Ma che Pin di arduino hai usato per inviare il PWM ?


Brunello

non ce la faccio a guardare il tuo sketch

prova questo

Code: [Select]

int ledPin = 11;      // pin PWM
 
void setup()
{
  pinMode(ledPin, OUTPUT);   
}

void loop()
{
for (int i=0; i <= 255 ; i=i+5){
  analogWrite(ledPin, i );
    delay (100);
    }
}

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview