https://github.com/pfalcon/micropython-serial
Very lightweight, supports just basic blocking mode.
micropython-serial - pySerial-like module (unix port)
micropython-serial - pySerial-like module (unix port)
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: micropython-serial - pySerial-like module (unix port)
I have installed micropython-os and micropython-fcntl using pip2.7 (macports) on OSX. I put serial.py at the same directory of my micropython build. But it keeps getting me this error:
>>> import serial
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "serial.py", line 8, in <module>
ImportError: no module named 'os'
What am I missing here? Thank you.
>>> import serial
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "serial.py", line 8, in <module>
ImportError: no module named 'os'
What am I missing here? Thank you.
Re: micropython-serial - pySerial-like module (unix port)
When you use pip, you install for CPython. To install modules for MicroPython, you should use its own builtin package manager, upip, as described in MicroPython README: https://github.com/micropython/micropython
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/