Triggering Arduino from goodmonkey() January 08, 2023 05:24AM |
Admin Registered: 5 years ago Posts: 871 |
function alert_function(hook,MLConfig,TrialRecord) switch hook case 'init' MLConfig.DAQ.set_reward_object(MLConfig,arduino); end end
goodmonkey(100,'juiceline','D2'); % use the D2 pin; R2015a or later goodmonkey(100,'juiceline',2); % R2014b or earlier uses a numeric pin number
The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.