aboutsummaryrefslogtreecommitdiffstats
path: root/docs/adc_driver.md
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-03-17 00:29:52 +0000
committerGitHub <noreply@github.com>2020-03-17 00:29:52 +0000
commit567bfc97ac4f5066e8a2302c46e3b375efe59792 (patch)
tree45eb64a6c294c91bea9934d32ae8f6b98b0ff7f6 /docs/adc_driver.md
parent7aff643031eec0b940b85d9f2a0d7a27fd6d4fa7 (diff)
downloadfirmware-567bfc97ac4f5066e8a2302c46e3b375efe59792.tar.gz
firmware-567bfc97ac4f5066e8a2302c46e3b375efe59792.tar.bz2
firmware-567bfc97ac4f5066e8a2302c46e3b375efe59792.zip
ARM - ADC cleanup (#8385)
* Update switch to array to allow custom values * Add adc keymap * update docs to reflect alignment of default 10 bit * start conversion to USE_ADCVn * samplerate is hella wrong...stub out for now * basic f1 and f4 functionality * Tidy up current changes * Restore old pinToMux function * Add back sample rate for supported platforms * F0 compile fixes * wordsmithery Co-Authored-By: Ryan <fauxpark@gmail.com> * Remove reference to avr only function Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'docs/adc_driver.md')
-rw-r--r--docs/adc_driver.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/adc_driver.md b/docs/adc_driver.md
index d808a8215..7c4e05efc 100644
--- a/docs/adc_driver.md
+++ b/docs/adc_driver.md
@@ -2,7 +2,7 @@
QMK can leverage the Analog-to-Digital Converter (ADC) on supported MCUs to measure voltages on certain pins. This can be useful for implementing things such as battery level indicators for Bluetooth keyboards, or volume controls using a potentiometer, as opposed to a [rotary encoder](feature_encoders.md).
-This driver currently supports both AVR and a limited selection of ARM devices. On AVR devices, the values returned are 10-bit integers (0-1023) mapped between 0V and VCC (usually 5V or 3.3V). On supported ARM devices, there is more flexibility in control of operation through `#define`s, but by default the values returned are 12-bit integers (0-4095) mapped between 0V and VCC (usually 3.3V).
+This driver currently supports both AVR and a limited selection of ARM devices. The values returned are 10-bit integers (0-1023) mapped between 0V and VCC (usually 5V or 3.3V for AVR, 3.3V only for ARM), however on ARM there is more flexibility in control of operation through `#define`s if you need more precision.
## Usage