Commit Graph

8 Commits

Author SHA1 Message Date
Tom Igoe 7bac64c4ac Added AD5206 Digital Potentiometer example to SPI library 2010-08-10 21:42:26 +00:00
David A. Mellis b89d8a9c11 Moving SPI pin initialization from constructor to begin() function. That way, the SPI library won't alter any pin states unless / until you call begin(). 2010-08-07 21:24:49 +00:00
David A. Mellis 08feacbb40 Renaming SPI constants to better match general style. Renaming setDataOrder() to setBitOrder(), and using existing LSBFIRST and MSBFIRST constants for it. 2010-08-07 20:33:18 +00:00
David A. Mellis 3899ffc75d Renaming SPI.send() to SPI.transfer() to better reflect its bi-directional nature. 2010-08-07 20:08:53 +00:00
David A. Mellis 1e0f968387 Setting SS high by default.
This should prevent conflicts between an SPI device using the hardware SS pin (which previously would have been enabled by default) and another SPI device using another pin for its SS.  It might be better to move the SPI initialization to begin(), which could then be called by the hardware devices which could then disable themselves.
2010-08-03 16:13:44 +00:00
Tom Igoe e1ba91a881 Added Barometric pressure sensor example for SPI library 2010-08-02 22:43:05 +00:00
David A. Mellis 0aec45afbc Moving SPI pin definitions into core (from SPI library): SS, MISO, MOSI, and SCK. 2010-08-02 22:33:11 +00:00
David A. Mellis e24b135755 Adding SPI library and revising Ethernet library (Christian Maglie). 2010-08-02 18:59:44 +00:00