This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-spi
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#30
from KurtE/Example_fix_pin_setup
Example setup code bug
main
Paul Stoffregen
7 years ago
parent
7ccae468dd
f2dc0cfd96
commit
67224c2ced
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
examples/DigitalPotControl/DigitalPotControl.ino
+ 1
- 1
examples/DigitalPotControl/DigitalPotControl.ino
View File
@@ -37,7 +37,7 @@ const int slaveSelectPin = 10;
void setup() {
// set the slaveSelectPin as an output:
pinMode (slaveSelectPin, OUTPUT);
pinMod
e (slaveSelectPin, HIGH);
digitalWrit
e (slaveSelectPin, HIGH);
// initialize SPI:
SPI.begin();
}
Write
Preview
Loading…
Cancel
Save