[OpenWrt-Devel] [ANN] MicroPython - well-known scripting language, unbloated

Paul Sokolovsky pmiscml at gmail.com
Fri Aug 29 16:38:29 EDT 2014


Hello,

> On Sat, 16 Aug 2014 13:18:33 +0200
> "valent.turkovic at gmail.com" <valent.turkovic at gmail.com> wrote:
> 

[]

> > Does MicryPython have support for serial communication as Python has
> > with PySerial? What I mostly need is some simple communication back
> > and forth with different serial based devices, like bluetooth
> > modules and such.
> 
> Yep, I would have the same need. To make that possible, "termios"
> Python module should be implemented. I started coding it in my branch,
> will take some time to actually test/debug it. When it's done, I'll
> just port my pyserial-like unbloated module
> https://github.com/pfalcon/py-simple-serial , so the serial
> communication is within reach. I'll let you know once it's ready.

FYI, basic "termios" module has landed in MicroPython master (should be
included in builds done with
https://github.com/openwrt/packages/blob/master/lang/micropython/Makefile).
Corresponding Python-level counterpart is
https://github.com/pfalcon/micropython-serial . I briefly tested it with
TI MSP430 Launchpad (thus, 9600 baud ;-) ). It surely will need more
testing.

> > Cheers,
> > Valent.


-- 
Best regards,
 Paul                          mailto:pmiscml at gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list