Пример #1
0
def return_value():
    return serial_manager.readline().replace("\r\n", "")
Пример #2
0
def return_value():
    return serial_manager.readline().replace('\r\n', '')
Пример #3
0
def return_value(connection):
    if connection:
        return connection.readline().replace('\r\n', '')
    else:
        return serial_manager.readline().replace('\r\n', '')
Пример #4
0
def return_value():
    return serial_manager.readline().replace("\r\n", "")