Smartcar Shield
Loading...
Searching...
No Matches
Smartcar.h
Go to the documentation of this file.
1
8#pragma once
9
29
30namespace smartcarlib
31{
32namespace pins
33{
38namespace v1
39{
41const BrushedMotorPins rightMotorPins{ 12, 13, 11 };
42} // namespace v1
43
48namespace v2
49{
50const BrushedMotorPins leftMotorPins{ 12, 14, 13 };
51const BrushedMotorPins rightMotorPins{ 25, 26, 27 };
52const uint8_t leftOdometerPin = 35;
53const uint8_t rightOdometerPin = 36;
56} // namespace v2
57} // namespace pins
58} // namespace smartcarlib
59
const BrushedMotorPins rightMotorPins
Definition Smartcar.h:41
const BrushedMotorPins leftMotorPins
Definition Smartcar.h:40
const DirectionalOdometerPins leftOdometerPins
Definition Smartcar.h:54
const DirectionalOdometerPins rightOdometerPins
Definition Smartcar.h:55
const BrushedMotorPins leftMotorPins
Definition Smartcar.h:50
const uint8_t rightOdometerPin
Definition Smartcar.h:53
const uint8_t leftOdometerPin
Definition Smartcar.h:52
const BrushedMotorPins rightMotorPins
Definition Smartcar.h:51
Helper resources for the v1 platform (i.e.
Helper resources for the v2 platform (i.e.
Helper class to represent brushed motor pins.
Helper class to represent directional odometer pins.