|
NXPCUP-libary
Library for car's control board on NXPCUP competition based on the Mbed framework.
|
#include <Encoder.h>
Public Attributes | |
| PinName | pin |
| int | pulsePerRevolution = 400 |
| float | gearRatio = 78 / 36.0 |
| int | wheelCircumference = 204 |
| float nxpcup::Encoder::Config::gearRatio = 78 / 36.0 |
gear ration between encoder and wheel
| PinName nxpcup::Encoder::Config::pin |
pin with interrupt for signal from encoder
| int nxpcup::Encoder::Config::pulsePerRevolution = 400 |
number of pulse on encoder per revolution
| int nxpcup::Encoder::Config::wheelCircumference = 204 |
wheel circumference in milimeters
1.8.11