nodemcu_kernel/nodemcu.py
def connect():
    """
    Returns a pySerial Serial object to talk to the nodemcu
    """
    s = Serial(find_nodemcu(), BAUDRATE, parity=PARITY)
    s.write(b'\x03\x01') # Ctrl-C: interrupt, Ctrl-A: switch to raw REPL
    s.read_until(b'raw REPL')
    s.read_until(b'\r\n>') # Wait for prompt
    return s

    Returns a pySerial Serial object to talk to the nodemcu
    
Returns a pySerial Serial object to talk to the nodemcu
Returns a pySerial Serial object to talk to the nodemcu
def connect():
    s = Serial(find_nodemcu(), BAUDRATE, parity=PARITY)
    s.write(b'\x03\x01') 
    s.read_until(b'raw REPL')
    s.read_until(b'\r\n>') 
    return s
def connect ( ) : s = Serial ( find_nodemcu ( ) , BAUDRATE , parity = PARITY ) s . write ( b'\x03\x01' ) s . read_until ( b'raw REPL' ) s . read_until ( b'\r\n>' ) return s
Returns a pySerial Serial object to talk to the nodemcu
Returns a pySerial Serial object to talk to the nodemcu
"""
    Returns a pySerial Serial object to talk to the nodemcu
    """ # Ctrl-C: interrupt, Ctrl-A: switch to raw REPL # Wait for prompt