@@ -48,35 +48,35 @@ python bioamp_tool.py [options]
48
48
49
49
# # Script Functions
50
50
51
- # ## `auto_detect_arduino(baudrate, timeout=1)`
51
+ ` auto_detect_arduino(baudrate, timeout=1)`
52
52
53
53
Detects an Arduino connected via serial port. Returns the port name if detected.
54
54
55
- # ## `read_arduino_data(ser, csv_writer=None)`
55
+ ` read_arduino_data(ser, csv_writer=None)`
56
56
57
57
Reads and processes data from the Arduino. Writes data to CSV and/or LSL stream if enabled.
58
58
59
- # ## `start_timer()`
59
+ `start_timer ()`
60
60
61
61
Initializes timers for 1-second and 10-minute intervals.
62
62
63
- # ## `log_one_second_data(verbose=False)`
63
+ ` log_one_second_data(verbose=False)`
64
64
65
65
Logs and resets data for the 1-second interval.
66
66
67
- # ## `log_ten_minute_data(verbose=False)`
67
+ ` log_ten_minute_data(verbose=False)`
68
68
69
69
Logs data and statistics for the 10-minute interval.
70
70
71
- # ## `parse_data(port, baudrate, lsl_flag=False, csv_flag=False, gui_flag=False, verbose=False)`
71
+ ` parse_data(port, baudrate, lsl_flag=False, csv_flag=False, gui_flag=False, verbose=False)`
72
72
73
73
Parses data from Arduino and manages logging, streaming, and GUI updates.
74
74
75
- # ## `init_gui()`
75
+ ` init_gui()`
76
76
77
77
Initializes and displays the GUI with six real-time plots, one for each bio-signal channel.
78
78
79
- # ## `main()`
79
+ ` main()`
80
80
81
81
Handles command-line argument parsing and initiates data processing.
82
82
0 commit comments