5217| 1
|
[求助] intel Edison支持199元那款2.8‘‘ TFT屏吗? |
刚买回来商城里199元的TFT屏,https://www.dfrobot.com.cn/goods.php?id=1109 。 试用了一下,发现Arduino的BubbleDemo例子跑起来会出错。这是咋回事啊?求解答啊! 常出错信息: Arduino: 1.6.0 (Windows 7), Board: "Intel® Edison" Using library SPI in folder: C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\hardware\intel\i686\libraries\SPI Using library DmTftLibrary in folder: C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary (legacy) C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel/hardware/tools/i686/pokysdk/usr/bin/i586-poky-linux/i586-poky-linux-g++ -m32 -march=i586 --sysroot=C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel/hardware/tools/i686/core2-32-poky-linux -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -D__ARDUINO_X86__ -march=i686 -m32 -DARDUINO=10600 -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\hardware\intel\i686\cores\arduino -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\hardware\intel\i686\variants\edison_fab_c -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\hardware\intel\i686\libraries\SPI\src -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary C:\Users\xiaoy\AppData\Local\Temp\build7574601537248942973.tmp\BubbleDemo.cpp -o C:\Users\xiaoy\AppData\Local\Temp\build7574601537248942973.tmp\BubbleDemo.cpp.o In file included from C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/DmTftBase.h:15:0, from C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/DmTftIli9341.h:16, from BubbleDemo.ino:2: C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/dm_platform.h:10:4: error: #error Only Arduino and Mbed toolchains are supported #error Only Arduino and Mbed toolchains are supported ^ BubbleDemo.ino:10:38: error: no matching function for call to 'DmTftIli9341::DmTftIli9341(int, int)' BubbleDemo.ino:10:38: note: candidates are: In file included from BubbleDemo.ino:2:0: C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/DmTftIli9341.h:18:7: note: DmTftIli9341::DmTftIli9341() class DmTftIli9341 : public DmTftBase ^ C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/DmTftIli9341.h:18:7: note: candidate expects 0 arguments, 2 provided C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/DmTftIli9341.h:18:7: note: DmTftIli9341::DmTftIli9341(const DmTftIli9341&) C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\DmTftLibrary/DmTftIli9341.h:18:7: note: candidate expects 1 argument, 2 provided Error compiling. |
有没有人试过啊?这个报错怎么解决啊?我看了DmTftIli9341.h里面有接受两个int型参数的构造函数啊,为啥没用那个啊?:'(之前没做过arduino的,求解答啊! |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed