这个程序大家有谁真正测试过吗?我试了好久都没成功。
老是报: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*)