TripokeExample experimental control software for a rodent behavioral task. Involves 2-way interaction between a computer (Windows or Linux) and an Arduino Mega microcontroller. Requires MATLAB (2012 or later). The Arduino board monitors IR sensors and controls lights, sounds (via a second Arduino), and other outputs according to user-determined settings in the MATLAB GUI. The Arduino is additionally programmed to relay event information to a data acquisition board for synchronization with physiological recordings.