From 6023459dad3579ea42789a5b9c5259e5b15a7d45 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Thu, 12 Apr 2018 10:23:40 +0200 Subject: [PATCH] Revert "Update DigitalPotControl.ino" This reverts commit f7a395fbdb22f72c3b2263f68bae7872e56bb73d. --- .../SPI/examples/DigitalPotControl/DigitalPotControl.ino | 2 -- 1 file changed, 2 deletions(-) diff --git a/hardware/arduino/avr/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino b/hardware/arduino/avr/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino index 8719058e7..c7afcc0a3 100644 --- a/hardware/arduino/avr/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino +++ b/hardware/arduino/avr/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino @@ -63,11 +63,9 @@ void loop() { void digitalPotWrite(int address, int value) { // take the SS pin low to select the chip: digitalWrite(slaveSelectPin, LOW); - delay(100); // send in the address and value via SPI: SPI.transfer(address); SPI.transfer(value); - delay(100); // take the SS pin high to de-select the chip: digitalWrite(slaveSelectPin, HIGH); }