Adafruit Servo Shield with Due

I am working on a project with a Hexapod running on an Arduino Due.

I use two Adafruit Servo Shields and the Adafruit_PWMServoDriver library.

I discovered that the SerialUSB library doesn't combine with the Adafruit library.

But it works when I use Serial.begin(9600); instead of SerialUSB.begin(9600);

When using SerialUSB.begin(9600); the problem starts with pwm.setPWMFreq(60);

IDE is 1.5.8

servo_due_3.ino (486 Bytes)