Pages: [1]   Go Down
Author Topic: New version of SdFat  (Read 1076 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Edison Member
*
Karma: 63
Posts: 1630
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A new version of SdFat is available as sdfatlib20121217.zip http://code.google.com/p/sdfatlib/downloads/list.

This version supports AVR boards, Arduino Due, and Teensy 3.0.

There are many changes so please read the changes.txt file. 

Note the following change:
Quote
The default for ALLOW_DEPRECATED_FUNCTIONS has been changed to
false.  If you get compile errors for these functions, either
change to the prefered replacement function indicated in the
error message or set ALLOW_DEPRECATED_FUNCTIONS nonzero.

A key change was to remove sd.init(spiRateID, chipSelect) in favor of
sd.begin(chipSelect, spiRateID).  The difference between these two is
the order of the arguments which has caused serious confusion at times.
Quote
A number of configuration options can be set by editing SdFatConfig.h
#define macros.  Options include:

ALLOW_DEPRECATED_FUNCTIONS - enable or disable deprecated functions.

Deprecated functions will be removed in a future version of SdFat.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13663
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Again, thanks for sharing!
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: