ti bisogna il phaserunner
Dependencies: mbed PID mbed-rtos
Diff: Peripherien/Encoder.cpp
- Revision:
- 9:56aed8c6779f
- Parent:
- 7:15e6fc689368
diff -r 1655d27152e6 -r 56aed8c6779f Peripherien/Encoder.cpp --- a/Peripherien/Encoder.cpp Fri May 17 14:35:54 2019 +0000 +++ b/Peripherien/Encoder.cpp Wed May 29 17:05:34 2019 +0000 @@ -49,7 +49,7 @@ HallSensor.fall(callback(this, &Encoder::ResetInterrupt)); this->resetOn = 0; - // Ticker for the calculation of the frequency wiht dt = 5ms + // Ticker for the calculation of the frequency with dt = 5ms this->ticker.attach(callback(this, &Encoder::calculateFrequency),dt); }