Example #1
0
def _write(data):
    data = str(data)
    for ch in data:
        serial_manager.write("%c" % ch)
    serial_manager.write("\0")
Example #2
0
def _write(data):
    serial_manager.write('%s\0' % str(data))
Example #3
0
def _write(data, connection):
    if connection:
        connection.write('%s\0' % str(data))
    else:
        serial_manager.write('%s\0' % str(data))
Example #4
0
def _write(data):
    data = str(data)
    for ch in data:
        serial_manager.write('%c' % ch)
    serial_manager.write('\0')