nodemcu_kernel/nodemcu.py
def find_nodemcu():
    """
    Returns the port for the first NodeMcu found connected to the computer.
    """
    for port in comports():
        if port.vid == NODEMCU_VID and port.pid == NODEMCU_PID:
            return port.device

    Returns the port for the first NodeMcu found connected to the computer.
    
Returns the port for the first NodeMcu found connected to the computer.
Returns the port for the first NodeMcu found connected to the computer .
def find_nodemcu():
    for port in comports():
        if port.vid == NODEMCU_VID and port.pid == NODEMCU_PID:
            return port.device
def find_nodemcu ( ) : for port in comports ( ) : if port . vid == NODEMCU_VID and port . pid == NODEMCU_PID : return port . device
Returns the port for the first NodeMcu found connected to the computer.
Returns the port for the first NodeMcu found connected to the computer .
"""
    Returns the port for the first NodeMcu found connected to the computer.
    """