登录
首页 » c » 12864显示汉字

12864显示汉字

于 2023-04-04 发布 文件大小:2.00 kB
0 77
下载积分: 2 下载次数: 1

代码说明:

#include #define uchar unsigned char #define uint unsigned int sbit wr=P2^0; sbit rd=P2^1; sbit ce=P2^2; sbit cd=P2^3; sbit rst=P2^4; void delay(uint t); void init_12864(); void write_data(uchar dat); void write_cmd1(uchar cmd); void write_cmd2(uchar dat,uchar cmd); void write_cmd3(uchar data1,uchar data2,uchar cmd); uchar read_status(); void check_status(); void clear_screen(); void display_char(uchar x,uchar y,uchar ch);

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • i2c_master_slave_pic
    This I2C library contains the following functionalities: - master/slave communication - timeout in case of bus failure - self recovery after timeout - possibility to write one of 32 bytes slave registers In the archive you can find the hardware schematic, some photos of the working platform, the required libraries and an working example. In the example the master MCU writes 2 bytes to the slave MCU which then sums them together. Then the MCU read the result and print it on the LCD. In case of I2C failure, either a TIMEOUT or FAILURE message will be printed on the LCD depending of which line was break. The MCU uses for both master and slave was PIC16F887. It use internal clock at 8Mhz so no cristal is required.
    2017-07-15 03:09:44下载
    积分:1
  • eeprom
    基于EFM32G890F128的IIC读写外部EEPROM器件24AA024的工程文件。(Based EFM32G890F128 IIC reading external EEPROM device project file 24AA024' s.)
    2014-04-14 15:26:35下载
    积分:1
  • Dcmotor_change speed
    直流电机转速控制更好吃一个唱歌唱歌唱歌i(DC motor speed control)
    2018-09-25 20:45:40下载
    积分:1
  • 158012740vrml
    说明:  有约束单一尺寸矩形样排的算法研究,非常实用简单供参考(Research on the Algorithm of Single Size Rectangular Spreading)
    2019-05-01 19:23:12下载
    积分:1
  • 13种指标
    说明:  EIAG相关系数、均值图像的质量评价,平均梯度,边缘强度,信息熵以及方差(EI Ag correlation coefficient, mean value)
    2020-05-14 00:52:34下载
    积分:1
  • Acquisition-process
    c8051f060单片机的采集存储程序,利用DMA技术,完成快速采集存储,(c8051f060 microcontroller acquisition process, use DMA technology to complete the rapid acquisition and storage,)
    2013-10-16 19:33:24下载
    积分:1
  • DS_N76E003中文规格书_SC_Rev1.00
    随着STM8的停产,新唐的N76E003 pin对pin替换STM8S003F3P6,而且很便宜,故这个时候拿来替换使用再好不过。(With the discontinuation of STM8, N76E003 pin of Xintang replaced STM8S003F3P6 with pin, which was very cheap, so it would be a good time to replace it.)
    2019-03-31 14:53:44下载
    积分:1
  • OSG参考书籍的示例程序包
    OpenSceneGraph三维渲染引擎编程指南 与OpenSceneGraph三维渲染引擎设计与实践等经典OSG学习书籍的示例代码,仅学习使用。
    2023-09-02 13:05:16下载
    积分:1
  • lesson-14
    孙鑫VC++教学课程lesson14:网络的相关知识,网络程序的编写,Socket是连接应用程序与网络驱动程序的桥梁,Socket在应用程序中创建,通过bind与驱动程序建立关系。此后,应用程序送给Socket的数据,由Socket交给驱动程序向网络上发送出去。计算机从网络上收到与该Socket绑定的IP+Port相关的数据后,由驱动程序交给Socket,应用程序便可从该Socket中提取接收到的数据。网络应用程序就是这样通过socket进行数据的发送与接收的。TCP与UDP的工作原理与编写过程,如何在程序中链接库文件。一个字符界面的聊天程序。(Sun Xin VC++ tutorial lesson14: the knowledge of the network, network program, Socket is connected applications and network drivers bridges, Socket application to create, build relationships bind driver. Thereafter, the data of the application to give socket, by the Socket handed driver and sent out on the network. After binding with the Socket IP+Port related data is received by the computer from the network, by the driver to the socket, the application can extract the data received from the Socket. Network application is sending and receiving data through the socket. TCP and UDP works and the writing process, how to link library files in the program. A character interface chat program.)
    2013-04-02 10:19:34下载
    积分:1
  • C++tansuo
    C/C++深层探索,网上下载的都没有书签阅读度起来非常不方便,这是我整理后的加上了书签,看起来就方便多了.(C/C++ Deeper exploration, have not downloaded bookmark degrees is very inconvenient to read, this is finished I added a bookmark, looks much more convenient.)
    2009-01-08 13:50:01下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载