micropython - Using Pyb-Library in WiPy -


how use pyb-library in wipy? documentation incomplete. import pyb doesn't work. not from pyb import delay or something. machine hasn't delay in it. how use following code?

https://docs.micropython.org/en/latest/pyboard/library/pyb.html#pyb.delay

easiest way put delay in micropython

import time time.sleep(nseconds) time.sleep_ms(n_milliseconds) 

fyi:

pyb library module specific pyboard, not work in wipy or esp32 default micropython firmware. firmware pyboard has module called pyb along other micropython standard modules. add different modules , build custom firmware , flash wipy.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -