Hi,
I downloaded Visual Micro and running APM v3.0 on Visual Studio. It compiles and runs all seems good. My settings are:
Visual Studio 2010 on Windows 7
Arducopter v3.0 (from github) for APM 2.5 --
Compiling 'ArduCopter' for 'Arduino Mega 2560 HAL (Apm 2)'
Binary sketch size: 234746 bytes (
91% of a 258048 byte maximum) (35.75 secs)
Uploading to I/O board using 'COM13'
Done uploading
---
Problem:
----
I am not new to programming arduino's, however the problem is unique with this version.
Putting a simple print statement "Hey" in the loop()
cliSerial->print("Hey, "); Initialising APM... statement is from the setup() function. The following output shows that writing a simple print restrats the board everytime?? Running Serial Monitor: Brings up the following output:
Quote:Hey, Hey, Hey,Hey,Hey,Hey?3!
?
Initialising APM...
Heyey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,Hey,,Hey,Hey, Hey, Hey, Hey &Hey, Hey, Hey Hey
Initialising APM...
-----------
I am not sure the above is the problem with RAM, Visual Micro settings or APM code, all I know this did not happen with other versions (of APM) ! Any comments/ help is appreciated.
Thanks,
Shyam