Hello, if you're using the Adafruit v2 motorshield, then you are best off using the polargraph_server_a1 firmware, but you'll need to compile it from source because as you've found, there is no precompiled hex for the MEGA.
In polargraph_server_ino, uncomment line 52:
#define ADAFRUIT_MOTORSHIELD_V2
and in configuration.ino, uncomment 37, 38, 39:
#include <Wire.h>
#include <Adafruit_MotorShield.h>
#include "utility/Adafruit_PWMServoDriver.h"
and comment line 31:
//#include <AFMotor.h>
You will need to have Accelstepper and Adafruit_Motorshield libraries installed.
sn
|