File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 23
23
`adafruit_ds3502`
24
24
================================================================================
25
25
26
- CircuitPython library for the Maxim DS3502 I2C Potentionmeter
26
+ CircuitPython library for the Maxim DS3502 I2C Digital Potentionmeter
27
27
28
28
29
29
* Author(s): Bryan Siepert
33
33
34
34
**Hardware:**
35
35
36
- * `Adafruit DS3502 <https://www.adafruit.com/products >`_
36
+ * `Adafruit DS3502 <https://www.adafruit.com/product/4286 >`_
37
37
38
38
**Software and Dependencies:**
39
39
63
63
_REG_CONTROL = const (0x02 ) # Configuration Register (R/W)
64
64
65
65
class DS3502 :
66
- """Driver for the DS3502 I2C Potentiometer.
66
+ """Driver for the DS3502 I2C Digital Potentiometer.
67
67
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.
69
69
:param address: The I2C device address for the sensor. Default is ``0x40``.
70
70
"""
71
71
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Table of Contents
28
28
:caption: Related Products
29
29
30
30
31
- * `Adafruit DS3502 <https://www.adafruit.com/products >`_
31
+ * `Adafruit DS3502 <https://www.adafruit.com/product/4286 >`_
32
32
33
33
.. toctree ::
34
34
:caption: Other Links
Original file line number Diff line number Diff line change 18
18
voltage = wiper_output .value
19
19
voltage *= 3.3
20
20
voltage /= 65535
21
- print ("Wiper voltage: %.2f" % voltage )
21
+ print ("Wiper voltage: %.2f V " % voltage )
22
22
print ("" )
23
23
sleep (1.0 )
24
24
27
27
voltage = wiper_output .value
28
28
voltage *= 3.3
29
29
voltage /= 65535
30
- print ("Wiper voltage: %.2f" % voltage )
30
+ print ("Wiper voltage: %.2f V " % voltage )
31
31
print ("" )
32
32
sleep (1.0 )
33
33
36
36
voltage = wiper_output .value
37
37
voltage *= 3.3
38
38
voltage /= 65535
39
- print ("Wiper voltage: %.2f" % voltage )
39
+ print ("Wiper voltage: %.2f V " % voltage )
40
40
print ("" )
41
41
sleep (1.0 )
42
42
You can’t perform that action at this time.
0 commit comments