Metadata-Version: 2.1
Name: microserial
Version: 1.0.2
Summary: python module for reading data from microbit serial port
Home-page: https://github.com/jenca-adam/microbit/tree/master/microserial/
Author: Adam Jenca
Author-email: jenca.a@gjh.sk
License: UNKNOWN
Description: 
        MicroSerial is Python module for receiving data from BBC micro:bit serial port.
        Simplest example:
        ```python
        from microserial import Microbit
        m=Microbit()
        #Microbit is stream type:
        for i in m:
        	print(i)
        ```
        
        Or, a bit more complex example, but does the same thing:
        ```python
        from microserial import Microbit
        m=Microbit()
        while True:
        	print(m.readline())
        ```
        
        You can redirect Microbit to stdout 
        ```python
        from microserial import Microbit
        m=Microbit()
        #replaces stdout
        m.replace_stio()
        #reads from it
        a=input()
        #return back to normal
        m.rstio()
        ```
Platform: UNKNOWN
Description-Content-Type: text/markdown
