-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/ntc_driver_add_filter_v2.0' into 'release/v2.0'
feat(ntc_driver): improve adc result using filter (v2.0) See merge request ae_group/esp-iot-solution!1145
- Loading branch information
Showing
6 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
menu "NTC Driver Configuration" | ||
|
||
config ENABLE_NTC_ADC_FILTER | ||
bool "Enable ADC Filter for NTC" | ||
default y | ||
help | ||
Enable ADC Filter for NTC, the driver will take multiple ADC measurements | ||
and then filters them to avoid ADC noise | ||
|
||
config NTC_FILTER_WINDOW_SIZE | ||
int "NTC Filter Window Size" | ||
default 50 | ||
depends on ENABLE_NTC_ADC_FILTER | ||
help | ||
The number of ADC measurements to take before filtering the NTC value, the | ||
higher the value the more stable the NTC value will be, but will take longer | ||
to update | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters