main.init_lsl_outlet
arduino_stim.main.init_lsl_outlet()Initializes an LSL outlet to stream Arduino commands as a single-channel stream.
This function creates an LSL outlet named arduino_cmd with a single channel of type “Marker” and format “int32”. The sample rate is set to 0, indicating an irregular stream.
Returns
| Name | Type | Description |
|---|---|---|
| pylsl.StreamOutlet | The LSL outlet for streaming the Arduino commands. |