finished new encoder
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
#include <Arduino.h>
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
#include <esp32_pcnt.h>
|
||||
|
||||
#include "counter.h"
|
||||
|
||||
/**
|
||||
* @brief The default size of numbers to be taken in account for the average.
|
||||
@@ -153,7 +154,7 @@ class Speedometer {
|
||||
void updateAvgBufSize();
|
||||
int16_t calcAverage();
|
||||
|
||||
PulseCounter* pulseCounter;
|
||||
Counter* pulseCounter;
|
||||
Direction currentDirection = Direction::None;
|
||||
|
||||
bool calibrationRunning = false;
|
||||
|
||||
Reference in New Issue
Block a user