[quote=v923z post_id=16743 time=1482968556 user_id=1137]
I also wanted to have some sort of interactive development environment for the board, and ended up defining a new cell-level magic for ipython. I outlined the details here [url]
https://github.com/v923z/micropython/bl ... bone.ipynb[/url].
[/quote]
Hello, Zoltán!
I just have tried your code, it works OK

.
Greatly thank you, this is definitely right approach! Interaction between Jupyter at PC and MicroPython at board is more useful for many cases than simple uPy kernels. This is exactly thing I dreamed of, but I had not enough python skill to implement it.
It make easy to solve very important teacher tasks purely in Python:
* Building interactive running graphs of physical measurements - and affecting them through notebook widgets.
* Getting robot sensor data from board, processing them on desktop with Tensorflow or doing other neuro/image/other hard computations, sending commands back to motors.
* Millions of other ideas...
It is enough for basic work. I want to use it in my scientific online course.
And it is definitely worse of maintenance and development.
Also I have some ideas about its development (very raw yet):
* Going from uPy cells to uPy lines and codeblocks. May be, colored in background accordingly to ID of each connected pyboard.
* Some class of "superglobal" variables shared between Python and uPython. Just for eauty - to get rid of printing & parsing when we want to share data. This variables can be syncronized unidirectionally when control switches from pyboard to PC and vice versa.
* Variable monitor (probably JS based) - to see real-time graphs of PC and pyboard variables ( I wrote some simple working prototype with threading ang HTML Canvas)