|
查询解决方法时有人说是库文件找不到,但是libraries中库文件都有。希望大神解答。
-----------------------------------------------------------------------------------------------------------------------------------------
使用已经编译的文件:C:\WINDOWS\Temp\arduino_build_492341\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o
C:\Users\hasee\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp: In member function 'void Adafruit_SPIDevice::transfer(uint8_t*, size_t)':
C:\Users\hasee\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp:99:31: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, size_t&)'
_spi->transfer(buffer, len);
^
In file included from C:\Users\hasee\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:1:0,
from C:\Users\hasee\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp:1:
C:\Users\hasee\Documents\Arduino\hardware\arduino-esp32\esp32\libraries\SPI\src/SPI.h:67:13: note: candidate: uint8_t SPIClass::transfer(uint8_t)
uint8_t transfer(uint8_t data);
^
C:\Users\hasee\Documents\Arduino\hardware\arduino-esp32\esp32\libraries\SPI\src/SPI.h:67:13: note: candidate expects 1 argument, 2 provided
使用 1.3.2 版本的库 Adafruit_BusIO 在文件夹: C:\Users\hasee\Documents\Arduino\libraries\Adafruit_BusIO
使用 1.0 版本的库 Wire 在文件夹: C:\Users\hasee\Documents\Arduino\hardware\arduino-esp32\esp32\libraries\Wire
使用 1.0 版本的库 SPI 在文件夹: C:\Users\hasee\Documents\Arduino\hardware\arduino-esp32\esp32\libraries\SPI
使用 1.8.4 版本的库 Adafruit_GFX_Library 在文件夹: C:\Users\hasee\Documents\Arduino\libraries\Adafruit_GFX_Library
使用 2.3.0 版本的库 Adafruit_SSD1306 在文件夹: C:\Users\hasee\Documents\Arduino\libraries\Adafruit_SSD1306
exit status 1
为开发板 DOIT ESP32 DEVKIT V1 编译时出错。
|
|