#define FREQUENZ 1000
#define RESOLUTION 8
#define LED3 4
#define CH_LED3 0
void setup() {
// put your setup code here, to run once:
ledcSetup(CH_LED3, FREQUENZ , RESOLUTION);
ledcAttachPin(LED3, CH_LED3);
}
void loop() {
for(int i = 0; i <= 255; i++)
{
ledcWrite(CH_LED3, i);
delay(11);
}
}