Hi everyone!
It’s my first time using the forum so sorry if I mess up.
For a project I’m recording the ecg of participants while watching 2 videos (about 2 min each). I am using the heart and brain spikerbox from Backyard Brains (Backyard Brains | Heart and Brain SpikerBox).
I would like to record and save the signal while also adding triggers for the beginning and ending of the videos. The company provides a code for Python 3 (https://raw.githubusercontent.com/BackyardBrains/SpikeTools/master/spikerecorder.py) which as far as I understand reads the signal from the spikerbox which comes through a serial port. I’m not sure how to take it from here, so any help to put me in the rigth direction is deeply appreciated!