Page 1 of 1

PYBD and WebREPL ?

Posted: Sat May 18, 2019 11:06 am
by MCHobby
Hi,
I was playing with my Pyboard-D SF2W and discovered that WebRepl was not available on it!

>>> import webrepl_setup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'webrepl_setup'

Is the WebRepl missing or replaced ?

Re: PYBD and WebREPL ?

Posted: Sat May 18, 2019 12:33 pm
by jimmo
Hi,

webrepl is available on the pybd, I have it running on my SF2. It's possible that you need to update the firmware version though http://micropython.org/download -- check if you can `import webrepl` directly.

However, there's a minor change to the ESP8266 version, where it no longer uses webrepl_setup and webrepl_cfg.py.

So you'll need to add it to boot.py manually:

Code: Select all

import webrepl
webrepl.start(password='secret')

Re: PYBD and WebREPL ?

Posted: Sun May 19, 2019 8:24 am
by MCHobby
Yahoo, Great!
Thank