Smartcar Shield
|
Helper class to represent directional odometer pins. More...
#include <DirectionalOdometer.hpp>
Public Member Functions | |
DirectionalOdometerPins (uint8_t pulsePin, uint8_t forwardWhenLowPin) | |
Construct a DirectionalOdometerPins object. More... | |
Public Attributes | |
const uint8_t | pulse |
const uint8_t | direction |
Helper class to represent directional odometer pins.
Definition at line 14 of file DirectionalOdometer.hpp.
|
inline |
Construct a DirectionalOdometerPins object.
pulsePin | The pin that receives the pulses |
forwardWhenLowPin | The pin that is set to LOW when moving forward |
Definition at line 22 of file DirectionalOdometer.hpp.
const uint8_t DirectionalOdometerPins::direction |
Definition at line 29 of file DirectionalOdometer.hpp.
const uint8_t DirectionalOdometerPins::pulse |
Definition at line 28 of file DirectionalOdometer.hpp.