你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

我也发个STM32和LCD12864((ST7565))的程序吧。

[复制链接]
胤幻1988 发布时间:2018-10-24 08:57
本帖最后由 胤幻1988 于 2018-10-24 08:58 编辑

最近闲来无事,翻出来2年前买的LCD12864模块(芯片ST7565).这个模块引脚分别为:  LEDA /VSS/ VDD/ SI/ SCL/ AO/ RSY /CS.用模拟SPI的方式写了程序。在原子的开发板上实验。 1.jpg 2.jpg
程序如下:
STM32F103_LCD12864(ST7565)(原子板)-OK.rar (2.17 MB, 下载次数: 482)
收藏 1 评论15 发布时间:2018-10-24 08:57

举报

15个回答
Bowen 回答时间:2018-10-24 09:26:34
不错,谢谢分享
卖身学Linux 回答时间:2018-10-24 14:27:48
学习学习!
alexcnsz 回答时间:2018-10-25 13:42:36
学习!
tom3721 回答时间:2018-11-2 12:07:44
谢谢分享。。。
healer8 回答时间:2019-7-6 21:08:49
谢谢分享
jesseqiao 回答时间:2019-7-18 15:29:06
西感谢楼主分享
bird0123 回答时间:2019-7-18 17:32:44
跟着大神来学习
jie944601996 回答时间:2019-9-26 16:43:16
非常感谢楼主分享
generalcircuits 回答时间:2019-9-27 10:51:08
下载学习,感谢分享
Ankky 回答时间:2019-10-30 15:50:12
感谢楼主,每一个程序员都不容易。加油。
打不死的小强哈哈哈 回答时间:2019-12-25 14:35:08
楼主,您好,我是下载了,但是编译出了很多错误
Build target 'USART'
compiling main.c...
system_stm32f10x.h(53): error:  #20: identifier "uint32_t" is undefined
  extern uint32_t SystemCoreClock;          /*!< System Clock Frequency (Core Clock) */
main.c(12): error:  #29: expected an expression
        {0x00,0x03,0x00,0x01,0x10,0x01,0x10,0x01,0x1F,0xFE,0x10,0x00,0x10,0x00,0x00,0x00},/*J*/0*/
main.c(13): error:  #29: expected an expression
  {0x00,0x00,0x00,0x98,0x01,0x24,0x01,0x24,0x01,0x48,0x00,0xFC,0x00,0x04,0x00,0x00},/*a*/1*/
main.c(14): error:  #29: expected an expression
  {0x00,0x00,0x00,0x70,0x00,0x88,0x01,0x04,0x01,0x04,0x01,0x04,0x00,0x88,0x00,0x00},/*c*/2*/
main.c(15): error:  #29: expected an expression
  {0x08,0x04,0x0F,0xFC,0x00,0x24,0x00,0x60,0x01,0x94,0x01,0x0C,0x01,0x04,0x00,0x00},/*k*/3*/
main.c(16): error:  #29: expected an expression
  {0x00,0x00,0x00,0xCC,0x01,0x24,0x01,0x24,0x01,0x24,0x01,0x24,0x01,0x98,0x00,0x00},/*s*/4*/
main.c(17): error:  #29: expected an expression
  {0x01,0x04,0x01,0xFC,0x00,0x84,0x01,0x00,0x01,0x00,0x01,0x04,0x00,0xFC,0x00,0x04},/*n*/5*/
main.c(18): error:  #29: expected an expression
  {0x07,0xF0,0x08,0x08,0x10,0x14,0x10,0x14,0x10,0x0C,0x08,0x0A,0x07,0xF2,0x00,0x00},/*Q*/6*/
main.c(19): error:  #29: expected an expression
  {0x00,0x00,0x01,0x04,0x19,0x04,0x19,0xFC,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00},/*i*/7*/
main.c(20): error:  #29: expected an expression
  {0x01,0x00,0x01,0xF8,0x00,0x04,0x00,0x04,0x00,0x04,0x01,0x08,0x01,0xFC,0x00,0x04},/*u*/8*/
main.c(12): error:  #146: too many initializer values
        {0x00,0x03,0x00,0x01,0x10,0x01,0x10,0x01,0x1F,0xFE,0x10,0x00,0x10,0x00,0x00,0x00},/*J*/0*/
main.c(36): warning:  #177-D: variable "t" was declared but never referenced
        u16 t;  
main.c(37): warning:  #177-D: variable "len" was declared but never referenced
        u16 len;        
main.c(38): warning:  #177-D: variable "times" was declared but never referenced
        u16 times=0;
main.c: 3 warnings, 11 errors
"..\OBJ\USART.axf" - 11 Error(s), 3 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
打不死的小强哈哈哈 回答时间:2019-12-25 14:41:02
楼主您好,下载下来了,但是编译没通过,出现了好多错误,不知道咋回事
gamep 回答时间:2020-5-28 17:38:28
谢谢分享,试试能不能点亮。

所属标签

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版