Randy 发表于 2012-12-19 09:07:29

xu26118 发表于 2012-12-18 17:41 static/image/common/back.gif
编译出错。。。。。

In file included from sketch_dec18a.ino:1:


换0023的IDE试一下!

lbsip 发表于 2013-3-12 20:14:07

这个程序大家有谁真正测试过吗?我试了好久都没成功。
老是报:no matching function for call to 'ITDB02::setFont()uint8_t[])'
以下是报错内容:
In file included from ITDB02_Graph16_Demo_Landscape.pde:18:
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:69:22: error: WProgram.h: No such file or directory
In file included from ITDB02_Graph16_Demo_Landscape.pde:18:
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:73: error: ISO C++ forbids declaration of 'uint8_t' with no type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:73: error: expected ';' before '*' token
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:74: error: 'uint8_t' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:75: error: 'uint8_t' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:76: error: 'uint8_t' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:77: error: 'uint8_t' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:84: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:85: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:89: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:89: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:89: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:96: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:96: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:96: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:97: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:97: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:97: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:100: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:101: error: 'uint8_t' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:106: error: 'byte' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:107: error: 'byte' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:108: error: 'byte' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:110: error: ISO C++ forbids declaration of 'uint8_t' with no type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:110: error: expected ';' before '*' token
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:111: error: 'uint8_t' does not name a type
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:118: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:118: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:118: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:121: error: 'byte' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:122: error: 'word' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:122: error: 'word' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:122: error: 'word' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:122: error: 'word' has not been declared
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:123: error: 'byte' has not been declared
ITDB02_Graph16_Demo_Landscape.pde: In function 'void setup()':
ITDB02_Graph16_Demo_Landscape:35: error: no matching function for call to 'ITDB02::setFont(uint8_t [])'
E:\arduino-1.0.3\libraries\ITDB02_Graph161/ITDB02_Graph16.h:101: note: candidates are: void ITDB02::setFont(int*)

Randy 发表于 2013-3-13 09:16:10

lbsip 发表于 2013-3-12 20:14 static/image/common/back.gif
这个程序大家有谁真正测试过吗?我试了好久都没成功。
老是报:no matching function for call to 'ITDB02: ...

仔细看帖子,需要修好点东西啊!

dengz 发表于 2013-3-13 10:01:41

。。。。。。不要吓我啊。。。本来看着挺好的。

1243 发表于 2013-3-13 19:41:51

好东西,lz有没有试过SD卡读取功能和触屏功能,可以的话展示几个例子看看,我还不会用这个板子,看了你的example之后,把绘图的命令到是学到了不少,其余就都不会了~~

lbsip 发表于 2013-3-13 22:02:13

本帖最后由 lbsip 于 2013-3-14 19:25 编辑

首先谢谢楼主的关心!
我换用0023的arduino IDE编译是没出错了,但我按楼主的接法接屏,下载程序后只见屏的背光灯亮,没见屏幕有任何字符或图像显示,不知是哪里还有问题?望楼主和个兄弟赐教。我的屏上的接口是这样的:

Fortware 发表于 2013-4-7 15:11:43

佩服LZ,有空也试试:lol

hp198969 发表于 2013-5-19 20:36:52

请问这个可以显示jpeg格式的图片吗?

zhangdeyue1 发表于 2013-8-6 18:44:52

之前用51驱动过,那速度是慢到了极限~!这个还没试过~!:L

zhangdeyue1 发表于 2013-8-7 13:04:14

屏幕不是3.3V的么?可以直接接2560的引脚?

Randy 发表于 2013-8-9 23:42:28

zhangdeyue1 发表于 2013-8-7 13:04 static/image/common/back.gif
屏幕不是3.3V的么?可以直接接2560的引脚?

可以接,但是比较麻烦,需要连很多线,注意看教程!

Randy 发表于 2013-8-9 23:42:54

zhangdeyue1 发表于 2013-8-6 18:44 static/image/common/back.gif
之前用51驱动过,那速度是慢到了极限~!这个还没试过~!

用51那肯定,Arduino用起来还是蛮慢的!

Randy 发表于 2013-8-9 23:43:13

hp198969 发表于 2013-5-19 20:36 static/image/common/back.gif
请问这个可以显示jpeg格式的图片吗?

你可以试试,貌似是可以的,我没试过!

Randy 发表于 2013-8-9 23:43:38

Fortware 发表于 2013-4-7 15:11 static/image/common/back.gif
佩服LZ,有空也试试

大家一起学习学习,会的说一下!

耿一文 发表于 2013-8-11 01:05:04

请问,使用mega2560驱动这个屏之后,还能同时跑其他程序吗?
我做智能家居用。貌似这个程序中有较长的delay,而红外接收方面不宜有较长的delay,否则会影响实时接收。
页: 1 2 3 [4] 5 6
查看完整版本: arduino学习笔记33 - Mega 2560+TFT3.2寸屏的演示实验