how to set preference to arduino ide, what file exactly is it?
3 次查看(过去 30 天)
显示 更早的评论
trouble folowing these instruction,.
what file is the actual IDE? arduino-0022 does not exist. arduino.exe does not work.
(example from instalation instruction copied below)
a) Specify location of the Arduino IDE
>> arduino.Prefs.setArduinoPath('c:\Program Files\arduino\arduino-0022')
b) Specify Arduino board (Duemilanove, Uno, Mega, etc.)
>> arduino.Prefs.setBoard % see list of board options
>> arduino.Prefs.setBoard('uno') % choose a specific board
my arduino installation directory is: c:\arduino-1.0
target dir is c:\arduinotarget
my matlab comand errors:
>> arduino.Prefs.setArduinoPath('c:\arduino-1.0\arduino-0022') ??? Error using ==> Prefs>Prefs.setArduinoPath at 21 The specified folder (c:\arduino-1.0\arduino-0022) does not exist
2 个评论
Kaustubha Govind
2011-12-15
It looks that error is thrown if "exist('c:\arduino-1.0\arduino-0022','dir')" returns false. Are you sure that there is a folder called 'arduino-0022' under c:\arduino-1.0?
采纳的回答
Chirag Gupta
2011-12-15
Dan, I would suggest using arduino-023 or arduino-022. Arduino-1.0 has significant changes as compared to the previous versions including reorganizing of some files (structure of the package, the header files etc! boards.txt is used to figure out the board settings and the placement of this file has changed with arduino 1.0)
(For example, Wprogram.h has been renamed to Arduino.h)
3 个评论
更多回答(1 个)
Chirag Gupta
2011-12-15
The release before arduino-1.0 was arduino-023 (and before that was arduino-022)
Just set the arduino root folder (under which arduino.exe is present)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Setup and Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!