summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2020-05-06 23:00:22 +0200
committerFlorian Baumann <derflob@derflob.de>2020-05-06 23:02:47 +0200
commiteed807adce31af00a141d61fa28d9f49864e1d45 (patch)
treedd095dd77bcaeb92cc1a302fa6853bf3b4e44843
parent247514b80357b62725abdfc76af620145ad0a2fb (diff)
downloadULPSoilMonitor-eed807adce31af00a141d61fa28d9f49864e1d45.tar.gz
ULPSoilMonitor-eed807adce31af00a141d61fa28d9f49864e1d45.tar.bz2
increase oversampling to 32
-rw-r--r--ulp_soil.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/ulp_soil.s b/ulp_soil.s
index 195f9b3..0e600d9 100644
--- a/ulp_soil.s
+++ b/ulp_soil.s
@@ -18,7 +18,7 @@
/* Configure the number of ADC samples to average on each measurement.
For convenience, make it a power of 2. */
- .set adc_oversampling_factor_log, 2
+ .set adc_oversampling_factor_log, 5
.set adc_oversampling_factor, (1 << adc_oversampling_factor_log)
.set soil_threshold, 300