首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 显示技术 > 在12864液晶上显示倒计时时间

在12864液晶上显示倒计时时间

资料介绍
在12864液晶上显示倒计时时间 程序样例

/***********************************************************
程序功能:在12864液晶上显示倒计时时间
-----------------------------------------------------------
测试说明:观察液晶显示
***********************************************************/
#include "msp430.h"
#include "BoardConfig.h"
#define SetTime(H,M,S) {second=S;minute=M;hour=H;hour0=H;};
typedef unsigned char uchar;
typedef unsigned int uint;
#define cyCS 0 //P3.0,片选信号
#define cySID 1 //P3.1,串行数据
#define cyCLK 2 //P3.2,同步时钟
#define cyPORT P3OUT
#define cyDDR P3DIR
/*********************************************
*********************************************/
const uchar hang1[] = {"定时时间"};
const uchar hang2[] = {"确定"};
const uchar hang3[] = {"退出"};
const uchar hang4[] = {"时"};
const uchar hang5[] = {"分"};
const uchar hang6[] =
在12864液晶上显示倒计时时间
本地下载

评论