How can I change the resolution of ''Arduino 2'' from 10 to 12 bit using Matlab?
1 次查看(过去 30 天)
显示 更早的评论
In Arduino IDE I use the following command: analogReadResolution(12). Does an equivalent one exist on Matlab?
0 个评论
采纳的回答
Madhu Govindarajan
2018-8-29
As of now there is no equivalent from MATLAB support package for Arduino. Here is what I found out for Simulink https://www.mathworks.com/matlabcentral/answers/159964-arduino-due-and-simulink-voltage-resolution
4 个评论
Madhu Govindarajan
2018-8-30
Yes that is correct. When you work with the MATLAB Support package for Arduino, it downloads a new sketch that overwrites the current sketch on Arduino. You could try other workarounds like serial communication with MATLAB and Arduino having its own sketch, but they are all just workarounds.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!