极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: 弘毅

arduino学习笔记15 - 12864液晶实验

  [复制链接]
发表于 2013-12-23 16:43:57 | 显示全部楼层
楼主,又没办法吧 DisplayString的unsigned char改为字符串类型呢?
回复 支持 反对

使用道具 举报

发表于 2014-1-2 11:56:33 | 显示全部楼层
长长牙齿 发表于 2012-11-9 16:18
想起我们上学的时候手工描字模的兄弟们,头都大了,还好我们是取的点阵字库。。。。。

我就这样干过,真心悲催
回复 支持 反对

使用道具 举报

发表于 2014-1-20 22:45:32 | 显示全部楼层
请问库文件应该放在什么地方 怎么使用
回复 支持 反对

使用道具 举报

发表于 2014-1-20 22:59:00 | 显示全部楼层
wangku001wei 发表于 2014-1-20 22:45
请问库文件应该放在什么地方 怎么使用

放在arduino\libraries  裡面。
回复 支持 反对

使用道具 举报

发表于 2014-1-20 23:13:42 | 显示全部楼层
隨風大俠 发表于 2014-1-20 22:59
放在arduino\libraries  裡面。

好的 谢谢啦!
回复 支持 反对

使用道具 举报

发表于 2014-2-14 22:37:15 | 显示全部楼层
弘毅 发表于 2012-8-1 23:35
在库文件的LCD12864R.h中
你找到下面的字段static const int RS = 17;
static const int RW = 16;  

  非常感谢我的 2560 按照这个方法OK了.
回复 支持 反对

使用道具 举报

发表于 2014-3-1 23:30:05 | 显示全部楼层
库好难用,重写了一遍。可自定义管脚,多屏,直接输出各种文字,数字
http://www.geek-workshop.com/for ... amp;extra=#pid57488
回复 支持 反对

使用道具 举报

发表于 2014-3-11 16:14:45 | 显示全部楼层
学习中,去实践下,谢谢了!
回复 支持 反对

使用道具 举报

发表于 2014-3-31 16:40:48 | 显示全部楼层
请问怎样才能显示实数变量
回复 支持 反对

使用道具 举报

发表于 2014-4-1 18:01:18 | 显示全部楼层
savagego 发表于 2014-3-1 23:30
库好难用,重写了一遍。可自定义管脚,多屏,直接输出各种文字,数字
http://www.geek-workshop.com/forum ...

的确好用多了!
回复 支持 反对

使用道具 举报

发表于 2014-4-5 17:24:28 | 显示全部楼层
Randy 发表于 2012-3-23 22:32
首先我表示弘毅是幸运的,因为他买到的屏是刚好能和他的串口模式能用的,其实我研究了两天发现了不少问题 ...

我的更奇怪,要拨插一下1号线(VSS)才有显示。
回复 支持 反对

使用道具 举报

发表于 2014-4-6 19:06:17 | 显示全部楼层
弘毅 发表于 2012-12-13 22:50
要检查你的12864屏幕引脚定义是否和学习笔记里所使用的是否一样,除非你用一样的屏幕,否则无法完全照搬接 ...

大大能帮忙分析一下么?为什么我用学习笔记上的串口模式就是只用四根线的接法,没有问题……但是用八根线的就是一片白,IDE1.01的两个库我都下载了我的版本是1.05-R2……我的12864是ST7920的
回复 支持 反对

使用道具 举报

发表于 2014-4-24 17:22:09 | 显示全部楼层
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp: In member function 'void LCD12864RSPI::delayns()':
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:29: error: 'delayMicroseconds' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp: In member function 'void LCD12864RSPI::WriteByte(int)':
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:35: error: 'HIGH' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:35: error: 'digitalWrite' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:37: error: 'MSBFIRST' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:37: error: 'shiftOut' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:38: error: 'LOW' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp: In member function 'void LCD12864RSPI::Initialise()':
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:73: error: 'OUTPUT' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:73: error: 'pinMode' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:76: error: 'LOW' was not declared in this scope
D:\My Documents\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:76: error: 'digitalWrite' was not declared in this scope
库在1.5.5的IDE中报错咯
回复 支持 反对

使用道具 举报

发表于 2014-5-28 14:45:25 | 显示全部楼层
为什么我把上边的程序拷贝到我的arduino中后,在语句:LCDA.Initialise(); // 屏幕初始化
  会后这样的提示:“LCDA”was not declared in this scope
  这是因为程序里包含的头文件和我的库中中的文件名不一致吗》???
回复 支持 反对

使用道具 举报

发表于 2014-6-11 23:26:27 | 显示全部楼层
弘毅 发表于 2012-1-29 11:55
是不是用的1.0 IDE~~~如果是1.0的,换用0022

是不是 arduino 0022版本(编译器)
回复 支持 反对

使用道具 举报

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

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-4-29 01:27 , Processed in 0.071333 second(s), 30 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

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