final commit
This commit is contained in:
@@ -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'
|
||||
@@ -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
@@ -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/'
|
||||
|
||||
Reference in New Issue
Block a user