Fix Buttons ADC range
parent
d44de216a9
commit
edf0804fd8
|
|
@ -23,7 +23,7 @@ static constexpr const uint16_t findaADCDecisionLevel = 512; ///< ADC decision l
|
||||||
// Buttons setup
|
// Buttons setup
|
||||||
static constexpr const uint8_t buttonCount = 3; ///< number of buttons currently supported
|
static constexpr const uint8_t buttonCount = 3; ///< number of buttons currently supported
|
||||||
static constexpr const uint16_t buttonsDebounceMs = 100;
|
static constexpr const uint16_t buttonsDebounceMs = 100;
|
||||||
static constexpr const uint16_t buttonADCLimits[buttonCount][2] = { { 0, 10 }, { 320, 360 }, { 500, 530 } };
|
static constexpr const uint16_t buttonADCLimits[buttonCount][2] = { { 0, 50 }, { 80, 100 }, { 160, 180 } };
|
||||||
static constexpr const uint8_t buttonsADCIndex = 5; ///< ADC index of buttons input
|
static constexpr const uint8_t buttonsADCIndex = 5; ///< ADC index of buttons input
|
||||||
|
|
||||||
} // namespace config
|
} // namespace config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue