Skip to content

Instantly share code, notes, and snippets.

@behinger
Created March 13, 2018 10:07
Show Gist options
  • Save behinger/17ab06d8c8446e37c7e6f1028fb84e44 to your computer and use it in GitHub Desktop.
Save behinger/17ab06d8c8446e37c7e6f1028fb84e44 to your computer and use it in GitHub Desktop.
%fetch the Eyetracker
if EyelinkInit()~= 1; %
return;
end;
%%%%%%%%%%%%%%%%%%%%%%%
Eyelink('command', '!*write_ioport 0x378 %d',params.trig_trialStart);
WaitSecs(0.005);
Eyelink('command', '!*write_ioport 0x378 %d',0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment