mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 13:12:30 -06:00
12 lines
194 B
Python
12 lines
194 B
Python
|
import serial
|
||
|
import time
|
||
|
|
||
|
def test():
|
||
|
ser = serial.Serial(0, 300)
|
||
|
print time.time()
|
||
|
ser.write('*' * 120)
|
||
|
print time.time()
|
||
|
ser.close()
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
test()
|