final commit

This commit is contained in:
Marco Locatelli
2021-04-23 12:38:45 +02:00
parent 5e95a9e92a
commit 880584ef98
3 changed files with 2 additions and 8 deletions
-6
View File
@@ -1,6 +0,0 @@
2021-04-21 00:25:00.636728 Program end. Ctrl+C from user
2021-04-21 00:43:00.683259 Caught error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
2021-04-21 00:46:17.711533 Caught error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
2021-04-22 15:03:04.132682 Caught error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
2021-04-22 15:04:27.913191 Caught error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
2021-04-22 15:34:13.724625 Caught error: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
+1 -1
View File
@@ -156,6 +156,6 @@ except Exception as errorMessage:
except FileNotFoundError:
print("Creating new PyLog.txt")
logFile = open(LOG_path+"PyLog.txt", "w+")
logFile.write(str(lastLog)+" FTSampler: caught error: "+str(errorMessage)+"\r\n")
logFile.write(str(lastLog)+" FTSampler caught error: "+str(errorMessage)+"\r\n")
logFile.close()
exit()
+1 -1
View File
@@ -16,7 +16,7 @@ from gpiozero import LED
led = LED(26)
#assegno ipv4 statico
ipv4 = '10.74.82.210'
ipv4 = '10.10.10.210'
#definisco directory /data
dataDir='/home/pi/data/'