5254浏览
查看: 5254|回复: 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.

hellovictoria  见习技师
 楼主|

发表于 2015-5-28 11:02:55

有没有人试过啊?这个报错怎么解决啊?我看了DmTftIli9341.h里面有接受两个int型参数的构造函数啊,为啥没用那个啊?:'(之前没做过arduino的,求解答啊!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail