Merged Jef’s tweaks and added configuration options to trigger tACS devices connected via an Arduino board. The first drop down list determines the COM port the board is connected, the second drop down list sets the delay, in minutes. The first text box is the message it will send when eye movements are detected, and the second text box holds the message it will send after the delay has passed.

View code changes