Trang chủ Chưa phân loạiThư Viện LCD (alcd.h) Trong CodeVisionAVR

Thư Viện LCD (alcd.h) Trong CodeVisionAVR

bởi Admin
5 lượt xem 1 Phút đọc

Dưới đây là một số hàm trong Thư Viện LCD (alcd.h)

Các Functions:

void _lcd_write_data(unsigned char data);
/* read a byte from the LCD character generator or display RAM */
unsigned char lcd_read_byte(unsigned char addr);
/* write a byte to the LCD character generator or display RAM */
void lcd_write_byte(unsigned char addr, unsigned char data);
// set the LCD display position  x=0..39 y=0..3
void lcd_gotoxy(unsigned char x, unsigned char y);
// clear the LCD
void lcd_clear(void);
void lcd_putchar(char c);
// write the string str located in SRAM to the LCD
void lcd_puts(char *str);
// write the string str located in FLASH to the LCD
void lcd_putsf(char flash *str);
// write the string str located in EEPROM to the LCD
void lcd_putse(char eeprom *str);
// initialize the LCD controller
void lcd_init(unsigned char lcd_columns);

Để lại bình luận

Focus Mode

Đã phát hiện trình chặn quảng cáo

Vui lòng hỗ trợ chúng tôi bằng cách tắt tiện ích chặn quảng cáo (AdBlocker) trên trình duyệt của bạn khi truy cập trang web của chúng tôi.