极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: 理科生

发个2.4 TFT 模块的库 希望能帮到大家

[复制链接]
发表于 2015-2-2 16:35:31 | 显示全部楼层
理科生 发表于 2013-8-7 18:04
具体也没怎么试过   这是在网上查到的一段代码  选择颜色 并且写字

这个代码编译错误啊
回复 支持 反对

使用道具 举报

发表于 2015-5-27 21:33:50 | 显示全部楼层
我也买了这个屏,放在MEGA上不知道怎么用,别人给的库文件也不能用。气死人哟
回复 支持 反对

使用道具 举报

发表于 2015-5-27 21:37:38 | 显示全部楼层
编译有误哟Arduino:1.5.6-r2 (Windows 7), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

F:\arduino-1.5.6-r2\libraries\TFTLCD\TFTLCD.cpp:40:22: error: glcdfont.c: No such file or directory
F:\arduino-1.5.6-r2\libraries\TFTLCD\TFTLCD.cpp: In member function 'void TFTLCD::drawChar(uint16_t, uint16_t, char, uint16_t, uint8_t)':
F:\arduino-1.5.6-r2\libraries\TFTLCD\TFTLCD.cpp:101: error: 'font' was not declared in this scope

  报告将会包含更多的信息
  "Show verbose output during compilation"
  在 文件>首选项 中启用
回复 支持 反对

使用道具 举报

发表于 2015-10-29 18:39:22 | 显示全部楼层
thank you!!!!!!!!!!
回复 支持 反对

使用道具 举报

发表于 2016-6-18 23:02:48 | 显示全部楼层
#include "glcdfont.c"
#include <avr/pgmspace.h>
#include "pins_arduino.h"
#include "wiring_private.h"
回复 支持 反对

使用道具 举报

发表于 2016-6-18 23:03:11 | 显示全部楼层
这几个文件没有

回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-15 15:24 , Processed in 0.038008 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表