Hello, > On Sat, 16 Aug 2014 13:18:33 +0200 > "[email protected]" <[email protected]> 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:[email protected] _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
