|
@@ -12,11 +12,11 @@ class SerialDataLogger:
|
|
self.root.title("Serial Data Logger")
|
|
self.root.title("Serial Data Logger")
|
|
|
|
|
|
self.serial_port = "COM1" # Change this to your serial port
|
|
self.serial_port = "COM1" # Change this to your serial port
|
|
- self.baud_rate = 9600 # Change this to match your device's baud rate
|
|
|
|
|
|
+ self.baud_rate = 115200 # Change this to match your device's baud rate
|
|
|
|
|
|
self.is_logging = False
|
|
self.is_logging = False
|
|
self.sample_count = 0
|
|
self.sample_count = 0
|
|
- self.max_samples = 10000
|
|
|
|
|
|
+ self.max_samples = 1000000
|
|
self.sample_rate = 200
|
|
self.sample_rate = 200
|
|
|
|
|
|
self.data = []
|
|
self.data = []
|