How can I change the resolution of ''Arduino 2'' from 10 to 12 bit using Matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Viviana Maria Genua
am 29 Aug. 2018
Kommentiert: Madhu Govindarajan
am 30 Aug. 2018
In Arduino IDE I use the following command: analogReadResolution(12). Does an equivalent one exist on Matlab?
0 Kommentare
Akzeptierte Antwort
Madhu Govindarajan
am 29 Aug. 2018
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 Kommentare
Madhu Govindarajan
am 30 Aug. 2018
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!