- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
16X16点阵C语言程序(国外英文资料)
16X16点阵C语言程序(国外英文资料)
/ * -- -16 * 16
# include reg51. H
# include intrins. H
# define DATE_OUT P1 / / specify P2 as the output
Sbit DATA = DATE_OUT ^ 0; / / column data output bits
Sbit SCLH = DATE_OUT ^ 1; / / scan the clock bit
Sbit SCLT = DATE_OUT ^ 2; / / column data latches
Sbit AB = DATE_OUT ^ 3; / / the row data output bit
Sbit SCK = DATE_OUT ^ 4; / / scan clock position
Unsigned char date [32]. / / 32 bytes of RAM is used as a 16 * 16 grid display cache
Void the display (); / / as the dot matrix scan function, the cached data is displayed to the dot matrix screen
Void display_time (unsigned int timer); / / specify time scan display
Void displaymove (unsigned char * lp, unsigned char c, unsigned char timer) / / the movement effect of the content of the Chinese character, the LP points to the first address of the first word, the number of the display words,
/ / timer is the speed of movement
Void displaymovetb (unsigned char din, unsigned char * lp);
/ / move the content up and down, din: 1 is down, 0 is up, lp points to the content to move in, the timer is moving speed
Void delay (unsigned int a); / / delay subfunctions
/ / very good word-touch software PCtoLCD2002 perfect template option: shade, line, and direction
Code unsigned char yu [32] = {
0x00, 0x00, 0x7E, 0xFC, 0x02, 0x04, 0x02, 0x04, 0x04, 0x22, 0x44, 0x12, 0x24, 0x12, 0x24, 0x06, 0x04, 0x04,
0x0A, 0x14, 0x12, 0x24, 0x24, 0xC4, 0x02, 0x04, 0x02, 0x04, 0x02, 0x04, 0x0A, 0x0A, 0x04, 0x04, 0x08 / * feather, 0 * / *, 0 * * *, 0 * * *, 0 * * * * * * * *, 0 * * * * * *.
Code unsigned char yi [32] = {
0x7E, 0xF8, 0x12, 0x48, 0x0A, 0x28, 0x12, 0x18, 0x22, 0x28, 0x1F, 0xF0, 0x11, 0x10, 0x1F, 0xF0,
0x11, 0x10, 0x1F, 0xF0, 0x08, 0x20, 0x7F, 0xFC, 0x08, 0x20, 0xFF, 0xFE, 0x30, 0x60, 0x60, 0x0C / * wings, 0 * /}
Code unsigned char dian [32] = {
0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0xF8, 0x21, 0x08, 0x21, 0x08, 0x3F, 0xF8, 0x08, 0x08,
0x21, 0x08, 0x21, 0x08, 0x08, 0x3F, 0xF8, 0x08, 0x01, 0x0
您可能关注的文档
- 约瑟夫环:每隔两个循环删除数组元素--fr csdn(国外英文资料).doc
- 组件整理(国外英文资料).doc
- 组件技术的本质COM理论知识(国外英文资料).doc
- 组件服务大全(国外英文资料).doc
- 组装电视机维修(国外英文资料).doc
- 终端工厂分类(国外英文资料).doc
- 经典好书推荐目录(国外英文资料).doc
- 终端错误信息原因以及解决办法(国外英文资料).doc
- 经典锡剧目录(国外英文资料).doc
- 经济循环(国外英文资料).doc
- 工会代表大会运行规则及十大制度解读.docx
- 法院合同法案例分析与学习笔记.docx
- 医疗急救口头医嘱管理流程制度.docx
- 幼儿园科学实验教学设计案例.docx
- 2025秋九年级英语全册Unit2Ithinkthatmooncakesaredelicious课时3SectionAGrammarFocus_4c习题课件新版人教新目标版.pptx
- 2025秋九年级英语全册Unit5WhataretheshirtsmadeofSectionA合作探究二课件新版人教新目标版.pptx
- 2025秋九年级英语全册Unit2Ithinkthatmooncakesaredelicious课时4SectionB1a_1d习题课件新版人教新目标版.pptx
- 2025秋九年级英语全册Unit1Howcanwebecomegoodlearners课时3SectionAGrammarFocus_4c习题课件新版人教新目标版.pptx
- 2025秋九年级英语全册Unit5Whataretheshirtsmadeof课时4SectionB1a_1e课件新版人教新目标版.pptx
- 2025秋九年级英语全册Unit3Couldyoupleasetellmewheretherestroomsare课时3SectionAGrammarFocus_4c课件新版人教新目标版.pptx
最近下载
- 民政政策培训课件模板.pptx
- GB∕T 2997-2015 致密定形耐火制品体积密度,显气孔率和真气孔率试验方法.pdf
- 2025德宏州事业单位考试招聘随军家属(6人)笔试备考试题及答案解析.docx VIP
- 招聘简章模版PDF打印版.pdf VIP
- DO-254A硬件适航标准.pdf VIP
- ISO45001内审资料(通知、计划、检查表、不符合).doc VIP
- 2025年医院财务会计人员考试试卷及答案.docx VIP
- 大学《逻辑学》期末复习习题集及考试真题解析.docx VIP
- 考研英语高频单词汇总(提分纯干货)(OCR).pdf VIP
- 基于端口电压积分与变下垂系数的逆变器并联下垂控制策略.pdf VIP
原创力文档


文档评论(0)