Write to Arduino Analog pins from Simulink
8 views (last 30 days)
Show older comments
I'm trying build and deploy simulink models to Arduino Uno using the "Simulink support package for Arduino hardware". I need to change the pin mode of pin "A0" to output and wirte to it. I know it's possible using the "Matlab support package" but the "Digital Output" block in the Simulink package doesn't seem to accept anything other than an integer between 0-13 for pin number.
If it's impossible, any hacks would be welcome (like calling the matlab function from Simulink etc. )
Thanks in advance for your answers
0 Comments
Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!