intel Edison支持199元那款2.8‘‘ TFT屏吗?
2015-05-278385
AI 快速预览详细
本文讨论了Intel Edison开发板与199元2.8寸TFT屏的兼容性问题。用户在尝试运行Arduino BubbleDemo示例时遇到了编译错误。文章详细解析了错误原因,指出DmTftLibrary库不支持Intel Edison工具链。为了解决这个问题,建议用户检查并修改DmTftLibrary库文件,或者使用其他兼容库。通过这些方法,用户可以成功连接Intel Edison与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. |




