четверг, 7 февраля 2013 г.

ардуино в протеусе

So we can create a Proteus project and add an ATmega328. Set the program file correctly and adjust the clock frequency to 16M.

Then the build file of the sketch will appear here.

Then open the right preferences file. And add the build path you want.

arduino IDE path/lib/preferences.txtвІ . I think the Arduino just inherits it from processing, so the location described is the ProcessingвІ s one. But ArduinoвІ s file is in the similar path.

First the actual location of the preference file is described in another preference file in вІ

Arduino IDE can generate hex and elf files of the sketch in verifying process. But in default they will be built in the temporary folder of the system which is hard to be found. I found a way to change the build path of the Arduino to make it much easier to be found.

Arduino is easy to use. But it may be hard to debug. Here is a simple tutorial of debugging it in Proteus.

Debug Arduino with Proteus « Think & Create

Комментариев нет:

Отправить комментарий