There is no USPS pickup on Monday Feb 15th, 2016 because of President's Day. USPS orders placed after 11am EST Fri February 12th will go out Tuesday February 16. UPS orders will ship as normal.

Motor Shield on the Arduino MEGA 2560
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Motor Shield on the Arduino MEGA 2560

by adafruit_support_bill on Thu Dec 06, 2012 9:10 am

I tested this on a Mega and it does work using the PWM frequencies for motors 3 & 4. You must use the "MOTOR34_xxKHz" constants for motors 3 & 4, not the "MOTOR12_xxKHZ" constants.
Code: Select all | TOGGLE FULL SIZE
    #define MOTOR34_64KHZ _BV(CS00) // no prescale
    #define MOTOR34_8KHZ _BV(CS01) // divide by 8
    #define MOTOR34_1KHZ _BV(CS01) | _BV(CS00) // divide by 64

adafruit_support_bill
 
Posts: 45824
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.