Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By erhardd
#59640 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() ..
User avatar
By erhardd
#59648 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..
User avatar
By rudy
#59651 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.