Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benoitberanger/api_arduino_ioport
MATLAB API for Arduino
https://github.com/benoitberanger/api_arduino_ioport
api arduino ioport matlab psychtoolbox
Last synced: 4 days ago
JSON representation
MATLAB API for Arduino
- Host: GitHub
- URL: https://github.com/benoitberanger/api_arduino_ioport
- Owner: benoitberanger
- License: mit
- Created: 2022-03-29T15:51:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-08T12:33:35.000Z (over 2 years ago)
- Last Synced: 2023-03-06T13:18:23.702Z (over 1 year ago)
- Topics: api, arduino, ioport, matlab, psychtoolbox
- Language: MATLAB
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# API_Arduino_IOPort
Code to access [Arduino](https://www.arduino.cc/) interface between MATLAB using [Psychtoobox](http://psychtoolbox.org/) **IOPort** function.
# Requirements
- MATLAB : probalby version superior to R2012b, due to class properties type.
- Psychtoolbox : http://psychtoolbox.org/# Install
Clone or download this repo, and add it to MATLAB's path.# Test / Demo script
Check this script:
- [test_adc](test_adc.m) for ADC => upload "arduino_adc.ino"
- [test_pp](test_pp.m) 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)