文件名称:TS1620
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-03-23
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 古*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
void OUT_DATA(unsigned char NEW_DATA)
/*** *** *** *** *** *** *** *** *** *** *** *** *** */
void lcd_delay_us(unsigned char us) // 延时微秒@12M,ms最大值255
void lcd_delay_ms(unsigned int ms) // 延时毫秒@12M,ms最大值255
// 产生一个使能脉冲
void lcd_e_toggle(void)
// 循环检测LCD忙标志(BF),直到其值为0,方可执行下一指令
void lcd_wait_until_finish(void)
// 公共函数
// 向LCD写命令字
void lcd_command(unsigned char cmd)
// 设置显示位置(即写入显示地址),x,y均从0开始
void lcd_goto_xy(unsigned char x, unsigned char y)
// 写字符(传入的参数实际为所需显示字符的地址,即液晶字符产生器中字符的地址) -void OUT_DATA (unsigned char NEW_DATA) /*******************************************************************************/void lcd_delay_us (unsigned char us) // extension when microsecond @ 12M, ms maximum 255 void lcd_delay_ms (unsigned int ms) // delay in milliseconds! 12M ms maximum 255// generate an enable pulse void lcd_e_toggle (void) // loop detection LCD busy flag (BF), until its value is 0, before the implementation of the next instruction void lcd_wait_until_finish (void) // public function// write to the LCD the command word void lcd_command of (unsigned char cmd) // set display position (ie write into the display addresses), x, y are from 0 void lcd_goto_xy (unsigned char x, unsigned char y) // write character (incoming parameters actually required to display the address of the character, i.e. the character in the liquid crystal character generator address)
/*** *** *** *** *** *** *** *** *** *** *** *** *** */
void lcd_delay_us(unsigned char us) // 延时微秒@12M,ms最大值255
void lcd_delay_ms(unsigned int ms) // 延时毫秒@12M,ms最大值255
// 产生一个使能脉冲
void lcd_e_toggle(void)
// 循环检测LCD忙标志(BF),直到其值为0,方可执行下一指令
void lcd_wait_until_finish(void)
// 公共函数
// 向LCD写命令字
void lcd_command(unsigned char cmd)
// 设置显示位置(即写入显示地址),x,y均从0开始
void lcd_goto_xy(unsigned char x, unsigned char y)
// 写字符(传入的参数实际为所需显示字符的地址,即液晶字符产生器中字符的地址) -void OUT_DATA (unsigned char NEW_DATA) /*******************************************************************************/void lcd_delay_us (unsigned char us) // extension when microsecond @ 12M, ms maximum 255 void lcd_delay_ms (unsigned int ms) // delay in milliseconds! 12M ms maximum 255// generate an enable pulse void lcd_e_toggle (void) // loop detection LCD busy flag (BF), until its value is 0, before the implementation of the next instruction void lcd_wait_until_finish (void) // public function// write to the LCD the command word void lcd_command of (unsigned char cmd) // set display position (ie write into the display addresses), x, y are from 0 void lcd_goto_xy (unsigned char x, unsigned char y) // write character (incoming parameters actually required to display the address of the character, i.e. the character in the liquid crystal character generator address)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TS1620.h