Skip to content

Commit c234d92

Browse files
authored
Merge pull request #5989 from tekktrik/doc/update-ref-volt-desc
Expand AnalogIn.reference_voltage description
2 parents c60e45c + 7fe30cc commit c234d92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared-bindings/analogio/AnalogIn.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ const mp_obj_property_t analogio_analogin_value_obj = {
126126

127127
//| reference_voltage: float
128128
//| """The maximum voltage measurable (also known as the reference voltage) as a
129-
//| `float` in Volts."""
129+
//| `float` in Volts. Note the ADC value may not scale to the actual voltage linearly
130+
//| at ends of the analog range."""
130131
//|
131132
STATIC mp_obj_t analogio_analogin_obj_get_reference_voltage(mp_obj_t self_in) {
132133
analogio_analogin_obj_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)