"I was able to come up with a solution to the problem but it is definitely not a conventional method. Since A0 is already set up to read the sonar senor if enabled, I enabled the pin and used this code segment:
I am getting the same "UploadProgressArgs" error while trying to build Mission Planner v1.2.57 with Visual Studio 2012 Express. How were you able to get past this error (all errors for that matter) and successfully build the MP and what…"
I am attempting modify the ardupCopter code and use "analogRead( )" to interpret an external input. However, when compiling I receive the following error: "analogRead was not declared in this scope." I tried to include the Arduino.h file in the…