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
{{ message }}
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.
Hi, sorry if this is not the right way or format to report an issue, I'm a rookie regarding git (and programming for that matter!)
I'm using the pymata3 class to try and initialize my HR-SR04 sensor and get the following warnings:
/usr/local/lib/python3.5/site-packages/pymata_aio/pymata_core.py:1098: RuntimeWarning: coroutine 'PymataCore.set_pin_mode' was never awaited
self.set_pin_mode(trigger_pin, Constants.SONAR, Constants.INPUT)
/usr/local/lib/python3.5/site-packages/pymata_aio/pymata_core.py:1099: RuntimeWarning: coroutine 'PymataCore.set_pin_mode' was never awaited
self.set_pin_mode(echo_pin, Constants.SONAR, Constants.INPUT)
Looking at pymata_core.py lines 1098/1099 it seems they are called as a normal function instead of a coroutine. I think these lines should be prepended with await (or yield from on python <=3.4)
Thanks,
Thiezn
The text was updated successfully, but these errors were encountered:
Hi, sorry if this is not the right way or format to report an issue, I'm a rookie regarding git (and programming for that matter!)
I'm using the pymata3 class to try and initialize my HR-SR04 sensor and get the following warnings:
Looking at pymata_core.py lines 1098/1099 it seems they are called as a normal function instead of a coroutine. I think these lines should be prepended with await (or yield from on python <=3.4)
Thanks,
Thiezn
The text was updated successfully, but these errors were encountered: