2022-03-28 17:32:05 +00:00
|
|
|
#pragma once
|
|
|
|
#include "pico/stdlib.h"
|
|
|
|
|
2022-04-22 12:59:40 +00:00
|
|
|
#include "motor.hpp"
|
2022-03-28 17:32:05 +00:00
|
|
|
|
2022-04-04 19:00:03 +00:00
|
|
|
namespace motor {
|
|
|
|
namespace pico_motor_shim {
|
|
|
|
const uint BUTTON_A = 2;
|
2022-03-28 17:32:05 +00:00
|
|
|
|
2022-04-12 16:00:39 +00:00
|
|
|
const uint MOTOR_1_P = 6;
|
|
|
|
const uint MOTOR_1_N = 7;
|
|
|
|
const uint MOTOR_2_P = 27;
|
|
|
|
const uint MOTOR_2_N = 26;
|
2022-04-04 19:00:03 +00:00
|
|
|
|
2022-04-12 16:00:39 +00:00
|
|
|
const pin_pair MOTOR_1(MOTOR_1_P, MOTOR_1_N);
|
|
|
|
const pin_pair MOTOR_2(MOTOR_2_P, MOTOR_2_N);
|
2022-04-04 19:00:03 +00:00
|
|
|
const uint NUM_MOTORS = 2;
|
|
|
|
}
|
2022-03-28 17:32:05 +00:00
|
|
|
}
|