Hi, just in case you did not notice already.
Tony D. from adafruit has made a kernel wrapper for jupyter notebook that allows to interact with micropython on MCUs.
I have tested so far with pyboard, esp8266 and esp32 boards.
I really like it, as it allows to take notes and code and test incrementally.
Tony explains how to install and setup in a Youtube video: https://youtu.be/UFc0pR2ehiw
Jupyter notebook kernel from adafruit
Re: Jupyter notebook kernel from adafruit
Really nice.
I'm using jupyter lately quite a bit but it didn't cross my mind that this combination is possible.
Would be cool to have a set of jupyter notebook tutorials, e.g. for uPy workshops.
I'm using jupyter lately quite a bit but it didn't cross my mind that this combination is possible.
Would be cool to have a set of jupyter notebook tutorials, e.g. for uPy workshops.
Re: Jupyter notebook kernel from adafruit
I've created a starter jupyter worksheet that explains things (how to install jupyter and the mpy-repl-tool package) and shows how to turn on a LED resp. the example disco flash effect from the official tutorials:
https://github.com/hoihu/projects/blob/ ... ial1.ipynb
It's pretty cool, you can connect your board from within the webbrowser and do all the fancy REPL staff. And thinking further, you could also setup a jupyter server and let somebody else access/play with your board.
Maybe I'll add more examples, so this can be served as interactive tutorials for beginners.
Btw: mpy-repl-tool is a package available on pypi with micropython tools created by @zsquareplusc. Anyone interested in it, read the docs here: http://mpy-repl-tool.readthedocs.io/en/latest/. It's not my intention to compare it to the well known rshell or mpfshell - it's just my choice of tools at home and at work and I like it.
https://github.com/hoihu/projects/blob/ ... ial1.ipynb
It's pretty cool, you can connect your board from within the webbrowser and do all the fancy REPL staff. And thinking further, you could also setup a jupyter server and let somebody else access/play with your board.
Maybe I'll add more examples, so this can be served as interactive tutorials for beginners.
Btw: mpy-repl-tool is a package available on pypi with micropython tools created by @zsquareplusc. Anyone interested in it, read the docs here: http://mpy-repl-tool.readthedocs.io/en/latest/. It's not my intention to compare it to the well known rshell or mpfshell - it's just my choice of tools at home and at work and I like it.