You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to use the servo module it seems most likely that the supporting Espruino function digitalPulse(0 is not working correctly on an ESP32 ( Firebeetle ESP32-E).
I have put a logic analyser on the pulsed pin and it seems the pulse width is always about 600us in response to a digitalPulse(D4,1,x) command no matter what the value of x. Where x should be the length of the pulse in milli seconds.
Thanks - very strange. And longer pulses don't work?
This could potentially be related to jstimer changes that went in a while ago, where we moved to using relative times rather than absolute for timer tasks. I guess we could test before/after to see if that's what broke it
While attempting to use the servo module it seems most likely that the supporting Espruino function digitalPulse(0 is not working correctly on an ESP32 ( Firebeetle ESP32-E).
I have put a logic analyser on the pulsed pin and it seems the pulse width is always about 600us in response to a digitalPulse(D4,1,x) command no matter what the value of x. Where x should be the length of the pulse in milli seconds.
Please see supporting discussion at https://forum.espruino.com/conversations/389271/
The text was updated successfully, but these errors were encountered: