-->
Page 2 of 3

Re: SD library 1.0.9 and 2.1.0 causing errors

PostPosted: Sun Dec 18, 2016 10:11 am
by erhardd
In all my projects i use :
C:\Users\ich\Documents\Arduino\hardware\esp8266\2.3.0-rc2\libraries\SPI
with SPI.h
Code: Select allclass SPIClass {
public:
  SPIClass();
  void begin();
  void end();
  void setHwCs(bool use);
  void setBitOrder(uint8_t bitOrder); 
  void setDataMode(uint8_t dataMode);
  void setFrequency(uint32_t freq);
  void setClockDivider(uint32_t clockDiv);
  void beginTransaction(SPISettings settings);
  uint8_t transfer(uint8_t data);
  uint16_t transfer16(uint16_t data);

...
You see only one Argument in transfer() ..

Re: SD library 1.0.9 and 2.1.0 causing errors

PostPosted: Sun Dec 18, 2016 10:17 am
by rudy
Yes. That's all I see as well.

Re: SD library 1.0.9 and 1.1.0 causing errors

PostPosted: Sun Dec 18, 2016 12:10 pm
by erhardd
I think you have to remove the SD-lib from your libraries-folder and let it compile with the SD-lib in:
C:\Program Files (x86)\Arduino\libraries\SD
There are differences..
With the SD-lib at Program Files it works fine for me..

Re: SD library 1.0.9 and 1.1.0 causing errors

PostPosted: Sun Dec 18, 2016 12:30 pm
by rudy
So you are saying that I need to use 1.0.8 rather than 1.09 and 1.10. Or at least that is how I read what you are saying. And that is the conclusion I came to.

I did want to find where the library comes from and have a look at why the changes were there. With the library manager the new library is offered, but I don't know where it is coming from. On other libraries I have installed I know where they came from so I know where to look for more information. But with the SD library the name offers no clue.