1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/libraries/SD/examples
Martino Facchin a57d390499 SD: remove any reference to pinMode(10, OUTPUT) in the examples
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868

current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
..
CardInfo SD: remove any reference to pinMode(10, OUTPUT) in the examples 2015-04-13 18:08:31 +02:00
Datalogger SD: remove any reference to pinMode(10, OUTPUT) in the examples 2015-04-13 18:08:31 +02:00
DumpFile SD: remove any reference to pinMode(10, OUTPUT) in the examples 2015-04-13 18:08:31 +02:00
Files SD: remove any reference to pinMode(10, OUTPUT) in the examples 2015-04-13 18:08:31 +02:00
listfiles SD: remove any reference to pinMode(10, OUTPUT) in the examples 2015-04-13 18:08:31 +02:00
ReadWrite SD: remove any reference to pinMode(10, OUTPUT) in the examples 2015-04-13 18:08:31 +02:00