Search found 2 matches

by bittailor
Tue Jan 14, 2020 9:37 pm
Forum: ESP32 Arduino
Topic: How to avoid initial flashing of common anode RGB LED
Replies: 3
Views: 4407

Re: How to avoid initial flashing of common anode RGB LED

This is the circuit I'm using: Screenshot 2020-01-14 at 22.20.50.png When I add a logic analyser an an additional output 19 ( as Logic 3) as trigger pinMode(19, OUTPUT); digitalWrite(19, HIGH); ledcAttachPin(ledR, 1); ledcAttachPin(ledG, 2); ledcAttachPin(ledB, 3); ledcSetup(1, 12000, 8); ledcSetup(...
by bittailor
Sun Jan 12, 2020 9:13 pm
Forum: ESP32 Arduino
Topic: How to avoid initial flashing of common anode RGB LED
Replies: 3
Views: 4407

How to avoid initial flashing of common anode RGB LED

Hi I try to control a common anode RGB LED with ledc functions. My problem is a short initial white flash off the RGB LED on the first boot. How could I avoid this initial white flash? Interestingly the initial white flash does not happen after an ESP.restart(); but after it happens after a ESP.deep...