Few basic routines written with psychophysics toolbox suitable for
receiving pulses from the serial buffer. I used these during an fMRI
experiment to communicate with the so-called cogent box.