machine.time_pulse_us not in 1.8.6?
-
I am trying to read the high and low pulse widths. I cannot resolve machine.time_pulse_us(). How do you measure the PWM high/low intervals on WiPy 2.0? Thank you.
-
@happyday
Yes, function is usefull but better (no blocking option) ispin.callback
look into docs - there is a sample about
https://docs.pycom.io/pycom_esp32/library/machine.Pin.html#machine.Pin -
Thank you. I am grateful for your reply. I started to use the pin's capability of callback. It is unfortunate the pwm call is not supported yet in the documentation. What is the best way to report bugs? If this is true, it is confusing to users of Pycom.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login