Update serial-read-write.py
del whitespace
This commit is contained in:
parent
3b900f20c5
commit
b523aa8112
1 changed files with 9 additions and 9 deletions
|
|
@ -12,7 +12,7 @@ while True:
|
|||
if data is not None: # Data was received
|
||||
|
||||
output = "%0.1f\t%d\t%0.1f\r\n" % (time.monotonic(),
|
||||
cpx.light, cpx.temperature)
|
||||
cpx.light, cpx.temperature)
|
||||
uart.write(output) # Print to serial
|
||||
|
||||
time.sleep(1.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue