-->
Page 1 of 2

analogWrite on BUILD_IN_LED soesnt work

PostPosted: Sat Sep 05, 2015 9:55 am
by arnab321
I tried to run the arduino fade example, with led as BUILD_IN_LED , but the LED always stays on at full brightness. The led is always at its full brightness even on analogWrite(BUILD_IN_LED,0).

Why does this happen?

Re: analogWrite on BUILD_IN_LED soesnt work

PostPosted: Sat Sep 05, 2015 10:29 am
by Barnabybear
Hi, I'm sure someone will be able to help you. Can you post the type of ESP (8266-01, 8266-12e are just two of the common ones), any development board and the code you are using. There are many combinations and variables, any of which could be affecting your outcome.

Re: analogWrite on BUILD_IN_LED soesnt work

PostPosted: Sat Sep 05, 2015 11:33 am
by arnab321
its ESP-01

Re: analogWrite on BUILD_IN_LED soesnt work

PostPosted: Sat Sep 05, 2015 5:33 pm
by martinayotte
On ESP-01, one LED is directly connected to power and the other LED is on the TX line.