Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 684 Bytes

File metadata and controls

18 lines (13 loc) · 684 Bytes

API_Arduino_IOPort

Code to access Arduino interface between MATLAB using Psychtoobox IOPort function.

Requirements

Install

Clone or download this repo, and add it to MATLAB's path.

Test / Demo script

Check this script:

  • test_adc for ADC => upload "arduino_adc.ino"
  • test_pp for Parallel Port => upload "arduino_pp.ino"

Important

Arduino cannot work with both mods simultaniously : you have to choose (and upload) 1 program between "adc" and "pp"(parallel port)