Hi
We're currently evaluating the potential of using something like Circuit Playground Express as a home experiment kit and I've been looking at what support there may be around for using Jupyter notebooks to work with them (my early notes here: https://ouseful-testing.github.io/circuit-playground-express/
The magics look like they could be interesting, but they still seem to be early days?
(The following is intended to be constructive rather than overly critical.)
One way I imagined using magics was to eg:
- grab sensor values using Circuit Python into a Circuit Python variable
- pass the variable into %%python block magic, churn the data in pandas, create matplotlib chart;
- render the chart as cell output
BUT:
- the cell doesn't seem to want to output anything (no repr_ defined? I also note that in the "native" Circuit Pyhton cells, the last object value is not displayed as cell output: you have to
print() it. Nor is the IPython display() function, which would pick up a __repr__, seem to be implemented.
Hi
We're currently evaluating the potential of using something like Circuit Playground Express as a home experiment kit and I've been looking at what support there may be around for using Jupyter notebooks to work with them (my early notes here: https://ouseful-testing.github.io/circuit-playground-express/
The magics look like they could be interesting, but they still seem to be early days?
(The following is intended to be constructive rather than overly critical.)
One way I imagined using magics was to eg:
BUT:
print()it. Nor is the IPythondisplay()function, which would pick up a__repr__, seem to be implemented.