File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 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
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
6363_REG_CONTROL = const (0x02 ) # Configuration Register (R/W)
6464
6565class 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
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
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
You can’t perform that action at this time.
0 commit comments