-
-
Notifications
You must be signed in to change notification settings - Fork 478
Control PWM pin #286
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
Comments
PWM is no implemented, there was no need when I added pin control - it need additional parameter to tell FW to use analogWrite instead of digitalWrite I think - I can add it in 3.0 yes I am rewriting 3.0 and this part is already implemented:
|
Dear Luc I have implemented the PWM feature if you would like to use it/check it. the command to control the pin (if you would like to use PWM pin) is now [ESP201]P PWM=YES V. Also there was a need to add analogWrite lib, since ESP32 default lib doesnt have this function. The updated code is (only the part that is relevant): #ifdef DIRECT_PIN_FEATURE
#ifdef ARDUINO_ARCH_ESP8266
|
the lib you mention is just a wrapper - right ? |
I just searched the web for analogWrite ESP32- this is the info of the lib; This library provides an analogWrite function polyfill for ESP32 Arduino framework by wrapping the ledc library. |
If you use authentication to enter the web page of the ESP3D is there an option to extend the time till it logs you out? |
the only way is to do something like check the box for temperature or position or any action before the 3 minutes time out happen |
Ok, were in the code I can change the timeout? or it is not possible? |
thanks |
if you increase the session timeout, do not do several login in same time as currently number of active login are limited to 10 for the period defined and only clean when timeout is over I will add better session management in 3.0, the timeout will be defined in preference and sent at login and should be able to be disabled as you suggested I guess issue can be closed ? |
Yes, sure |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello Luc
First it is not really an issue...
I am talking with the 2.1 version.
How can I implement PWM option to control a pin?
I see that there is an option only for digitalWrite 0/1, is it possible to have a guidance how to control PWM pin?
Also you set that the maximum pins are <16, I think it is better to have all the pins available <27.
The text was updated successfully, but these errors were encountered: