It is possible to read the status of a digital output port from an Arduino board with Matlab?

2 次查看(过去 30 天)
It is possible to read the status of a digital output port from an Arduino board with Matlab?

回答(2 个)

Madhu Govindarajan
Have you tried using this function from the support package? http://www.mathworks.com/help/supportpkg/arduinoio/ref/readdigitalpin.html

Dirk S.
Dirk S. 2016-1-7
Yes I tried this function. But unfortunately as soon as it is configured as an output it is not possible to read the status with this function anymore. Perhaps there is another possibility to read the status? I am open for all suggestions. Thank you.

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by