Commit Graph

19 Commits

Author SHA1 Message Date
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 965480f148 Fixing warnings in Ethernet library (Paul Stoffregen).
http://code.google.com/p/arduino/issues/detail?id=208
2011-10-02 10:17:33 -04:00
Tom Igoe 35777612c0 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis d05e4021d0 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05: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
Tom Igoe d58ea9b378 Modified Barometric Pressure Sensor to make it easier for beginners to understand. 2010-08-15 13:32:38 +00:00
Tom Igoe aab8563d1e Modified Barometric Pressure Sensor to make it easier for beginners to understand. 2010-08-15 13:17:05 +00:00
Tom Igoe 00989e9778 Modified Barometric Pressure Sensor to make it easier for beginners to understand. 2010-08-15 13:14:58 +00:00
Tom Igoe e4989390c1 Commented the changing board pin numbers. 2010-08-13 02:47:18 +00:00
Tom Igoe ecb26ec6dc Changed slaveSelectPin to a const int rather than hard coded number. 2010-08-13 02:45:20 +00:00
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