Skip to content

Commit 09ffeda

Browse files
committed
fixes to multiple docstring param statements
1 parent 900c1d1 commit 09ffeda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_pcf8591/pcf8591.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class PCF8591:
5656
"""Driver for the PCF8591 DAC & ADC Combo breakout.
5757
5858
:param ~busio.I2C i2c_bus: The I2C bus the PCF8591 is connected to.
59-
:param address: The I2C device address for the sensor. Default is ``0x28``.
59+
:param int address: The I2C device address for the sensor. Default is ``0x28``.
6060
6161
"""
6262

@@ -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")
@@ -126,7 +126,7 @@ def dac_enabled(self, enable_dac: bool) -> None:
126126
def write(self, value: int) -> None:
127127
"""Writes a uint8_t value to the DAC output
128128
129-
param: :output The value to write: 0 is GND and 65535 is VCC
129+
:param int value: The value to write: 0 is GND and 65535 is VCC
130130
131131
"""
132132

0 commit comments

Comments
 (0)