==> https://github.com/goatchurchprime/jupy ... hon_kernel
It works well. However, sometime Jupyter notebook MicroPython Kernel prints "." that I didn’t print, when I use ‘print()’ with "for" or "while" statement.
Followings are my codes. When I use a serial terminal(ex. Teraterm), the output is OK. However, there is a print dot(.) problem when I use Jupyter notebook.
How can I solve the problem? I use Windows 10 (64bit) and Python3 (installed by Anaconda) and ESP32 board with MicroPython.
Code: Select all
========== My codes &Results =========
[Using Teraterm]
MicroPython v1.9.4-684-g51482ba92 on 2018-11-21; ESP32 module with ESP32
Type "help()" for more information.
-------code -----------------------------
import time
for k in range(10):
print("k = {0}".format(k))
time.sleep(1)
------ results ------------------
k = 0
k = 1
k = 2
k = 3
k = 4
k = 5
k = 6
k = 7
k = 8
k = 9
[Using Teraterm]
--- same code using Jupyter notebook MicroPython Kernel ---
import time
for k in range(10):
print("k = {0}".format(k))
time.sleep(1)
------ results ------------------
k = 0
k = 1
k = 2
k = 3
k = 4
.k = 5
k = 6
k = 7
k = 8
k = 9
---------------------------------