Pages: [1]   Go Down
Author Topic: SdFat.h Library compilation issues  (Read 510 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

im getting the error:

GpsDataLoggerInstructable_pde.ino: In function 'void setup()':
GpsDataLoggerInstructable_pde:56: error: no matching function for call to 'SdVolume::init(Sd2Card&)'
C:\Program Files (x86)\Arduino\libraries\SdFat/SdVolume.h:81: note: candidates are: bool SdVolume::init(Sd2Card*)
C:\Program Files (x86)\Arduino\libraries\SdFat/SdVolume.h:82: note:                 bool SdVolume::init(Sd2Card*, uint8_t)

and then if i try its' suggustions it says that the following line needs to follow an initialiser
the two lines are:

  volume.init(card);      //Initialize a volume on the SD card.
  root.openRoot(volume);  //Open the root directory in the volume.

i need some help with converting to the updated version of SdFat.h
what should i replace these two lines with?
Logged

Pages: [1]   Go Up
Jump to: