1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-30 03:26:13 +01:00

Add Snowball Creek Shield for Mega

This commit is contained in:
Dex's Lab 2021-09-30 22:52:54 -04:00
parent f8fb08e331
commit 501f0e1bf0

View File

@ -50,7 +50,7 @@
// Pololu Motor Shield // Pololu Motor Shield
#define POLOLU_MOTOR_SHIELD F("POLOLU_MOTOR_SHIELD"), \ #define POLOLU_MOTOR_SHIELD F("POLOLU_MOTOR_SHIELD"), \
new MotorDriver( 9, 7, UNUSED_PIN, -4, A0, 18, 3000, 12), \ new MotorDriver(9, 7, UNUSED_PIN, -4, A0, 18, 3000, 12), \
new MotorDriver(10, 8, UNUSED_PIN, UNUSED_PIN, A1, 18, 3000, 12) new MotorDriver(10, 8, UNUSED_PIN, UNUSED_PIN, A1, 18, 3000, 12)
// //
// Actually, on the Pololu MC33926 shield the enable lines are tied together on pin 4 and the // Actually, on the Pololu MC33926 shield the enable lines are tied together on pin 4 and the
@ -84,3 +84,8 @@
new MotorDriver(11, 13, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 2000, UNUSED_PIN) new MotorDriver(11, 13, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 2000, UNUSED_PIN)
#endif #endif
#define SNOWBALL_CREEK_SHIELD F("SNOWBALL_CREEK_SHIELD"), \
new MotorDriver(3, 12, UNUSED_PIN, 9, A0, 6.10, 5000, UNUSED_PIN), \
new MotorDriver(11, 13, UNUSED_PIN, 8, A1, 0.49, 320, UNUSED_PIN)
#define MOTOR_SHIELD_TYPE SNOWBALL_CREEK_SHIELD