lcd.h

来自「利用热释红外传感器、12C887和PIC单片机制作的智能电子时钟」· C头文件 代码 · 共 39 行

H
39
字号
#define SPLC780D
#ifndef	_LCD_H_
#define _LCD_H_
/*
 *  LCD interface header file
 *  See lcd.c for more info
 */

/* light lcd & dark*/

void lcd_light(void);
void lcd_dark(void);

/* write a byte to the LCD in 4 bit mode */

extern void lcd_write(unsigned char);

/* Clear and home the LCD */

extern void lcd_clear(void);

/* write a string of characters to the LCD */

extern void lcd_puts(const char * s);

/* Go to the specified position */

extern void lcd_goto(unsigned char pos);

/* intialize the LCD - call before anything else */

extern void lcd_init(void);

/* write one character to the LCD */

extern void lcd_putch(char);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?