Skip to content

Commit

Permalink
fix(doc): analogReadMilliVolts (#10125)
Browse files Browse the repository at this point in the history
Fixes the documentation. typo. volts->Volts
  • Loading branch information
SuGlider authored Aug 13, 2024
1 parent 384cc27 commit da13c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/api/adc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ADC OneShot mode


The ADC OneShot mode API is fully compatible with Arduino's ``analogRead`` function.
When you call the ``analogRead`` or ``analogReadMillivolts`` function, it returns the result of a single conversion on the requested pin.
When you call the ``analogRead`` or ``analogReadMilliVolts`` function, it returns the result of a single conversion on the requested pin.

analogRead
^^^^^^^^^^
Expand All @@ -36,7 +36,7 @@ This function is used to get the ADC raw value for a given pin/ADC channel.

This function will return analog raw value (non-calibrated).

analogReadMillivolts
analogReadMilliVolts
^^^^^^^^^^^^^^^^^^^^

This function is used to get ADC raw value for a given pin/ADC channel and convert it to calibrated result in millivolts.
Expand Down

0 comments on commit da13c03

Please sign in to comment.