Expand AnalogIn.reference_voltage description

This commit is contained in:
tekktrik 2022-02-07 18:10:09 -05:00 committed by GitHub
parent 5afd7d420d
commit 909a554dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ const mp_obj_property_t analogio_analogin_value_obj = {
//| reference_voltage: float
//| """The maximum voltage measurable (also known as the reference voltage) as a
//| `float` in Volts."""
//| `float` in Volts. Note the ADC value may not scale to the actual voltage linearly
//| at ends of the analog range."""
//|
STATIC mp_obj_t analogio_analogin_obj_get_reference_voltage(mp_obj_t self_in) {
analogio_analogin_obj_t *self = MP_OBJ_TO_PTR(self_in);