Documentation for the Arduino Stimulator module

Arduino Stimulator

The github repository for this module is located at: https://github.com/bsdlab/dp-arduino-stimulator

Core API

Core functions to run and interact with the Arduino stimulator.

main.main The Arduino stimulator main loop.
main.init_lsl_outlet Initializes an LSL outlet to stream Arduino commands as a single-channel stream.
main.connect_stream_watcher Connect to and configure the input stream watcher.
main.get_main_thread Run the main loop in a separate thread.
utils.time.sleep_s Sleep for approximately s seconds.