Skip to content

Commit e57fab1

Browse files
remove HIPO pin from SPI initialization (not needed)
1 parent bdbdacf commit e57fab1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cedargrove_ad5293.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class AD5293:
3636
"""Class representing the Cedar Grove AD5293, an SPI digital linear taper
3737
potentiometer.
3838
39-
The AD5293 Digital Potentiometer is an SPI, 100K-ohm device. The
39+
The AD5293 Digital Potentiometer is a 10-bit, SPI, 100K-ohm device. The
4040
potentiometer sports 1024 resistance steps. The digital logic power
4141
requires 2.7v to 5.5v. The potentiometer circuit operates with dual analog
4242
supply voltages from +/-9v to +/-16.5v. The pins act similarly to a passive

examples/ad5293_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import busio
66
from cedargrove_ad5293 import AD5293
77

8-
spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO) # Define SPI bus
8+
spi = busio.SPI(board.SCK, MOSI=board.MOSI) # Define SPI bus
99

1010
ad5293 = AD5293(spi, select=board.D6)
1111

0 commit comments

Comments
 (0)