diff options
author | per1234 <accounts@perglass.com> | 2021-05-26 04:35:59 -0700 |
---|---|---|
committer | per1234 <accounts@perglass.com> | 2021-05-26 04:39:38 -0700 |
commit | 8b327d7bede1c1245db99daeba4e168c92c11194 (patch) | |
tree | b75e18bd089cff448953fe4304aabed878fce2d5 /libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino | |
parent | 5ec42f90eed49e886eb96ad156b4332ab3d21493 (diff) |
Correct typos in comments and documentation
Diffstat (limited to 'libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino')
-rw-r--r-- | libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino b/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino index 8719058..39e5bf9 100644 --- a/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino +++ b/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino @@ -14,7 +14,7 @@ The circuit: * All A pins of AD5206 connected to +5V * All B pins of AD5206 connected to ground - * An LED and a 220-ohm resisor in series connected from each W pin to ground + * An LED and a 220-ohm resistor in series connected from each W pin to ground * CS - to digital pin 10 (SS pin) * SDI - to digital pin 11 (MOSI pin) * CLK - to digital pin 13 (SCK pin) @@ -27,7 +27,7 @@ */ -// inslude the SPI library: +// include the SPI library: #include <SPI.h> @@ -64,7 +64,7 @@ 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: + // send in the address and value via SPI: SPI.transfer(address); SPI.transfer(value); delay(100); |