Andrew Stone
4e8fffa767
just change a comment to make more sense
2012-06-05 21:10:09 -04:00
Andrew Stone
a41c1233ba
fix SPI init issues as described http://code.google.com/p/arduino/issues/detail?id=888 . Tested using qt1110 (mode 3) on a mega and WS5100 (webserver example sketch) chips on a etherten
2012-06-05 15:45:51 -04:00
David A. Mellis
b24895385a
Fixing SPI double-speed bug.
...
Bad bit manipulation was causing the double-speed flag to be set incorrectly.
http://code.google.com/p/arduino/issues/detail?id=365
2010-10-04 21:19:03 -04: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
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
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