10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f50b3 commit 2729d38Copy full SHA for 2729d38
libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino
@@ -63,9 +63,11 @@ void loop() {
63
void digitalPotWrite(int address, int value) {
64
// take the SS pin low to select the chip:
65
digitalWrite(slaveSelectPin, LOW);
66
+ delay(100);
67
// send in the address and value via SPI:
68
SPI.transfer(address);
69
SPI.transfer(value);
70
71
// take the SS pin high to de-select the chip:
72
digitalWrite(slaveSelectPin, HIGH);
73
}
0 commit comments