登录
首页 » C » lcd12864底层驱动

lcd12864底层驱动

于 2022-03-26 发布 文件大小:7.30 kB
0 83
下载积分: 2 下载次数: 1

代码说明:

简单按明了的LCD12864底层驱动,内含SendWrite(uchar dat);//发送8位数据给LCD12864uchar LCD12864_Read(void)//读取LCD12864中的数据LCD12864_Busy( void )//判忙函数void LCD12864_write(bit cmd,uchar dat)//向屏发送命令/数据 带发送数据void LCD12864_writebyte(uchar *prointer)//指针发送显示数据void LCD12864_pos(uchar x,y)//设置屏幕显示的位置void LCD12864_Qing( void )//清除屏幕显示的你内容

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

发表评论

0 个回复

  • point
    用于点云切片功能的实现,非常好用,可以计算密度、厚度、等内容(For point cloud slicing feature to achieve very easy to use, you can calculate the density, thickness, etc.)
    2020-06-29 01:40:02下载
    积分:1
  • C#图像采集
    运用C#编程语言,首先创建窗体界面,包括用到的控件。主要作用是通过调用外部摄像头来实现拍照、保存图像。监控等功能。
    2022-03-25 19:18:56下载
    积分:1
  • FreeRTOS+FreeModbus+STM32F107VC
    /*  * FreeModbus Libary: BARE Port  * Copyright (C) 2006 Christian Walter  *  * This library is free software; you can redistribute it and/or  * modify it under the terms of the GNU Lesser General Public  * License as published by the Free Software Foundation; either  * version 2.1 of the License, or (at your option) any later version.  *  * This library is distributed in the hope that it will be useful,  * but WITHOUT ANY WARRANTY; without even the implied warranty of  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  * Lesser General Public License for more details.  *  * You should have received a copy of the GNU Lesser General Public  * License along with this library; if not, write to the Free Software  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA  *  * File: $Id: porttimer.c,v 1.1 2006/08/22 21:35:13 wolti Exp $  */ /* ----------------------- Platform includes --------------------------------*/ #include #include "port.h" /* ----------------------- Modbus includes ----------------------------------*/ #include "mb.h" #include "mbport.h" /* ----------------------- static functions ---------------------------------*/ static void prvvTIMERExpiredISR( void ); /* ----------------------- Start implementation -----------------------------*/ BOOL xMBPortTimersInit( USHORT usTim1Timerout50us ) { NVIC_InitTypeDef NVIC_InitStructure; TIM_TimeBaseInitTypeDef  TIM_TimeBaseStructure; USHORT PrescalerValue = 0;     NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);     /* Enable the TIM5 gloabal Interrupt */     NVIC_InitStructure.NVIC_IRQChannel = TIM5_IRQn;     NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;     NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3;     NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;     NVIC_Init(&NVIC_InitStructure);     /* TIM5 clock enable */     RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM5, ENABLE); PrescalerValue = (USHORT) (SystemCoreClock / 20000) - 1;      TIM_TimeBaseStructure.TIM_Period = usTim1Timerout50us;     TIM_TimeBaseStructure.TIM_Prescaler = PrescalerValue;     TIM_TimeBaseStructure.TIM_ClockDivision = 0;     TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;     TIM_TimeBaseInit(TIM5, &TIM_TimeBaseStructure);     TIM_ClearITPendingBit(TIM5, TIM_IT_Update);     //TIM_ITConfig(TIM5, TIM_IT_Update, DISABLE);     //TIM_Cmd(TIM5, ENABLE);      return TRUE; } void vMBPortTimersEnable( void ) {     /* Enable the timer with the timeout passed to xMBPortTimersInit( ) */     ENTER_CRITICAL_SECTION(); TIM_ClearITPendingBit(TIM5, TIM_IT_Update);     TIM_ITConfig(TIM5, TIM_IT_Update, ENABLE); TIM_SetCounter(TIM5, 0x0000);     TIM_Cmd(TIM5, ENABLE); EXIT_CRITICAL_SECTION(); } void vMBPortTimersDisable( void ) {     /* Disable any pending timers. */     ENTER_CRITICAL_SECTION(); TIM_ClearITPendingBit(TIM5, TIM_IT_Update);     TIM_ITConfig(TIM5, TIM_IT_Update, DISABLE); TIM_SetCounter(TIM5, 0x0000);     TIM_Cmd(TIM5, DISABLE); EXIT_CRITICAL_SECTION(); } /* Create an ISR which is called whenever the timer has expired. This function  * must then call pxMBPortCBTimerExpired( ) to notify the protocol stack that  * the timer has expired.  */ static void prvvTIMERExpiredISR( void ) {     ( void )pxMBPortCBTimerExpired(  ); } void TIM5_IRQHandler(void) { if (TIM_GetITStatus(TIM5, TIM_IT_Update) == SET) { TIM_ClearITPendingBit(TIM5, TIM_IT_Update); prvvTIMERExpiredISR(); } }
    2021-08-22 00:30:59下载
    积分:1
  • Status InitPolyn(polyn P) {/*建立一个空的一元多项式的链表*/ P=(polyn)malloc(sizeof(LNode)...
    Status InitPolyn(polyn P) {/*建立一个空的一元多项式的链表*/ P=(polyn)malloc(sizeof(LNode)) if(P==NULL) exit (OVERFLOW) P->data.coef=0 P->data.expn=-1 P->next=NULL return OK }/*InitPolyn*/-Status InitPolyn (Polynesia P) (/* establish an empty number one yuan- Chain*/P = (Polynesia) malloc (sizeof (LNode)) if (P == NULL) exit (overflow) P-
    2022-03-20 12:34:29下载
    积分:1
  • HttpSample
    利用ASIHTTPREQUEST与服务器交互的最简单的例子(How to use ASIHTTPREQUEST)
    2010-07-27 14:29:03下载
    积分:1
  • LMCB2300_ucguP
    LPC2368驱动淘宝上27元钱的TFT的代码,包含了uCOOS+uCGUI,希望各位能够用得到:),已通过测试。 (27 dollars of the TFT the LPC2368 drive Taobao code contains uCOOS+uCGUI hope you will be able to get :), has been tested.)
    2012-07-27 10:58:39下载
    积分:1
  • 51dianpianjidi1760
    以c51单片机为核心,利用1760芯片进行语音报时,51单片机控制(With c51 microcontroller core, the use of 1760 chip for voice timekeeping, 51 MCU control)
    2013-11-28 09:41:59下载
    积分:1
  • 企业文章建站,c#.net mvc3 +sqlserver2008
    2023-05-28 12:40:05下载
    积分:1
  • 自动浇花系统
    随着人们生活节奏的加快,即使是最爱的花草浇水也无法顾及,偶而出差、旅行、探亲也是很正常的事情,而家中花草谁来管?花草生长问题80%以上是由花儿浇灌问题引起;好不容易种植几个月的花草,因为浇水不及时,长势不好,用来美化家园的花草几乎成了“鸡肋”;对于广大DIY爱好者,我们要介绍一款可以自己编程、设置参数、自己动手组装的自动浇花控制器,这是一款基于Arduino的控制器,使用土壤湿度传感器对土壤湿度进行监测,通过温湿度传感器对室内温度、湿度进行测量,控制水泵或电池阀进行浇水,从而达到自动浇灌的目的
    2022-01-24 09:12:23下载
    积分:1
  • Fngprnt
    采用最大方差阈值分割法,对指纹进行提取。(Using the maximum variance threshold segmentation method for fingerprint extraction.)
    2013-11-24 20:39:58下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载