diff options
| -rwxr-xr-x | ldr-counter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldr-counter.py b/ldr-counter.py index 85c980c..362ab55 100755 --- a/ldr-counter.py +++ b/ldr-counter.py @@ -62,7 +62,7 @@ def appendReading (ldrCount): # write the data f = open("ldr-readings.txt", "a") - f.write(timestamp) # , ldrCount) + f.write(timestamp + ' ' + " ".join(map(str, ldrCount)) + '\n') f.close() |
