Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By Solo Pilot
#17663
Stevenelson wrote:Which board are you using? the esp-01 doesn't have any analog pins. I know the esp-12 has 1.


I'm using an ESP-12, but that is not relevant. All ESP devices have digital pins that can be used for PWM output. AnalogWrite() puts out a PWM signal (on/off) with a duty cycle proportional to the analog output value. It does not output a varying analog voltage.

I'm evaluating it for use in a class. This thing is amazing.

Incidentally, the analog input on A0 works well, but not quite as expected: the reference voltage is 1.0v and it expects an input voltage in the range 0 to 1v. The WiFi works well, I'll publish the performance shortly.
User avatar
By juanpintom
#17668 Hi, Im trying to update from the downloaded p1 zip for windows to the last core files on github.

This file is missing on the zip file:
https://github.com/esp8266/Arduino/blob ... ring_pwm.c

I copied libraries and hardware folders from the github to the downloaded one but I get errors on compile.

I'll work on it,but I want to know if anybody knows how to update the IDE without compile it

Regards!!