Society of Robots - Robot Forum
General Misc => Misc => Topic started by: ukesh on June 23, 2009, 09:34:08 AM
-
hi!
the programs written for adruino board, can we use them for the AXON mcu and vice versa??
-
Yes you probably can use Arduino for the Axon if you select the Arduino Mega board setting, the Axon and Arduino Mega use basically the same microcontroller.
-
thnx man :)
do we need to change the syntax for the functions like initializing a port..etc or is it the same?
-
the ports will be different if thats what you mean?
-
hm ya mate. i refer to the ports. So if the change the ports according the the axon mcu everything is fine rite?
-
The code for the Axon and the Arduino Mega are exactly the same. However the compiler needs to know which you are compiling for, as the .hex file will be different. If you are using Axon code for the Arduino, go into the makefile and change the mcu name from 640 to 1280.
-
thnx admin!