Hi @HGlasmachers, Did you tired the analogWrite() function to generate the PWM?
example;
void setup()
{
pinMode(1,OUTPUT);
}
void loop(){
for(int i=0; i<=255; i++){
analogWrite(1,i);
delay(10);
}
digitalWrite(1,LOW);
}
Output:
Hi @HGlasmachers, Did you tired the analogWrite() function to generate the PWM?
example;
void setup()
{
pinMode(1,OUTPUT);
}
void loop(){
for(int i=0; i<=255; i++){
analogWrite(1,i);
delay(10);
}
digitalWrite(1,LOW);
}
Output: