-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWM not working always HIGH or LOW 2.1 git version #1382
Comments
It's worked in my case using your code. I use ESP-13 based module(ESPduino). |
İ'm using esp-07 and esp-12 Not working pwm Analogwrite (50-100-200) always High |
Change to 2.0 version may solve your prolem. |
i tested 2.0 stable version it`s worked but 2.1 github version not working. |
Same problem here, spent all day thinking I was doing something wrong. esp 12, sdk 1.6.6
|
revert 1ae4230 |
typo fix works for me now |
fix works for me now |
Hi,
PWM not working always HIGH or LOW 2.1 git version
SDK 1.5
int ledPin = 5; // LED connected to digital pin 5
void setup() {
pinMode(ledPin, OUTPUT);
analogWriteRange(255);
}
void loop() {
for (int fadeValue = 0 ; fadeValue <= 255; fadeValue += 5) {
analogWrite(ledPin, fadeValue);
delay(30);
}
for (int fadeValue = 255 ; fadeValue >= 0; fadeValue -= 5) {
analogWrite(ledPin, fadeValue);
delay(30);
}
}
Led high or low
The text was updated successfully, but these errors were encountered: