-
Notifications
You must be signed in to change notification settings - Fork 5
Home
-
Download the Graphical LCD library for Arduino from: https://code.google.com/p/glcd-arduino/downloads/list (glcd-v3-20111205.zip) When downloaded the file (text from read me…..) 'should be unziped into a folder named glcd in the libraries directory. If you already have a folder called libraries in your Arduino sketchbook directory, unzip the glcd files there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder here.'
-
From the GitHub project page https://github.com/cgwood/ArdustationMega download ZIP. It will download as ArdustationMega-Master - rename it as ArdustationMega (i.e remove the -Master) and put it where ever you put your Arduino sketches.
-
Open up ArdustationMega.ino in the Arduino IDE
-
Update paths. In the ArdustationMega tab update 7 pathnames to match where you put the file in the step above e.g. for me I change: '#include "C:/Users/Colin/Documents/Arduino/ArduStation/ArdustationMega/mavlink/v1.0/ardupilotmega/mavlink.h"' to '#include "/Users/paul/Documents/Arduino/ArdustationMega/mavlink/v1.0/ardupilotmega/mavlink.h"'. There are 7 paths to change all in the first page of the sketch.
-
Set the board type with Tools>Board>Arduino Mega 2560.
-
You should now be able to verify or compile (Sketch>Verify/Compile).
-
Connect up your ASM with the USB. Set the serial port Tools>Serial Port>whatever port you connected your SM to. Finally upload to your ASM.
Note: If you have libraries from old APM build you may get errors when compiling quoting the library AP_GPS. If you do delete the AP_GPS library from your library directory, re-start the Arduino IDE try to compile again and all should be good.