Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By forlotto
#47213 It was brought to my attention that analogue write is possible through PWM on the esp this could be an important piece of the puzzle for me possibly for dimming but also maybe for others I am not entirely sure to be honest...

But here is the post I am a bit dense at times on things it may be something I missed even though I checked it over do I need to add the .ino and create a new binary to make it happen ? Kinda confused what I need to use essentially is pin D4 this is what I am hooked to but supposedly from these writings any pin can do analogue write I find this rather interesting possibly useful to basic and as I say maybe it already exists?

Check this post for more info:
viewtopic.php?f=45&t=9907&p=47169#p47169
User avatar
By Mmiscool
#47214 Internally the pwo command maps to this arduino function
https://www.arduino.cc/en/Reference/AnalogWrite

It allows for pwm output.

io(pwo,d4,500) for example.

internal source code is
Code: Select all  else if (PinCommand == F("pwo")) analogWrite(pin, PinValue);