Skip to content

Commit 900c1d1

Browse files
committed
changes per additional reviewer suggestions
1 parent 2a98a69 commit 900c1d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_pcf8591/analog_out.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, pcf: PCF8591, dac_pin: int = 0) -> None:
4040
"""AnalogIn
4141
4242
:param pcf: The pcf object.
43-
:param int pin: Required pin must be A0
43+
:param adafruit_pcf8591.pcf8591.A0 pin: Required pin must be A0
4444
4545
"""
4646
self._pcf = pcf

adafruit_pcf8591/pcf8591.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _half_read(self, channel: Literal[0, 1, 2, 3]) -> None:
100100
def read(self, channel: Literal[0, 1, 2, 3]) -> None:
101101
"""Read an analog value from one of the four ADC inputs
102102
103-
param: int channel The single-ended ADC channel to read from, 0 thru 3
103+
param: int channel: The single-ended ADC channel to read from, 0 thru 3
104104
"""
105105
if channel < 0 or channel > 3:
106106
raise ValueError("channel must be from 0-3")

0 commit comments

Comments
 (0)