Skip to content

Commit 71f62aa

Browse files
committed
fixing documentation
1 parent 2ecf996 commit 71f62aa

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

adafruit_ds3502.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
`adafruit_ds3502`
2424
================================================================================
2525
26-
CircuitPython library for the Maxim DS3502 I2C Potentionmeter
26+
CircuitPython library for the Maxim DS3502 I2C Digital Potentionmeter
2727
2828
2929
* Author(s): Bryan Siepert
@@ -33,7 +33,7 @@
3333
3434
**Hardware:**
3535
36-
* `Adafruit DS3502 <https://www.adafruit.com/products>`_
36+
* `Adafruit DS3502 <https://www.adafruit.com/product/4286>`_
3737
3838
**Software and Dependencies:**
3939
@@ -63,9 +63,9 @@
6363
_REG_CONTROL = const(0x02) # Configuration Register (R/W)
6464

6565
class DS3502:
66-
"""Driver for the DS3502 I2C Potentiometer.
66+
"""Driver for the DS3502 I2C Digital Potentiometer.
6767
68-
:param ~busio.I2C i2c_bus: The I2C bus the INA260 is connected to.
68+
:param ~busio.I2C i2c_bus: The I2C bus the DS3502 is connected to.
6969
:param address: The I2C device address for the sensor. Default is ``0x40``.
7070
"""
7171

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Table of Contents
2828
:caption: Related Products
2929

3030

31-
* `Adafruit DS3502 <https://www.adafruit.com/products>`_
31+
* `Adafruit DS3502 <https://www.adafruit.com/product/4286>`_
3232

3333
.. toctree::
3434
:caption: Other Links

examples/ds3502_simpletest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
voltage = wiper_output.value
1919
voltage *= 3.3
2020
voltage /= 65535
21-
print("Wiper voltage: %.2f"%voltage)
21+
print("Wiper voltage: %.2f V"%voltage)
2222
print("")
2323
sleep(1.0)
2424

@@ -27,7 +27,7 @@
2727
voltage = wiper_output.value
2828
voltage *= 3.3
2929
voltage /= 65535
30-
print("Wiper voltage: %.2f"%voltage)
30+
print("Wiper voltage: %.2f V"%voltage)
3131
print("")
3232
sleep(1.0)
3333

@@ -36,7 +36,7 @@
3636
voltage = wiper_output.value
3737
voltage *= 3.3
3838
voltage /= 65535
39-
print("Wiper voltage: %.2f"%voltage)
39+
print("Wiper voltage: %.2f V"%voltage)
4040
print("")
4141
sleep(1.0)
4242

0 commit comments

Comments
 (0)