Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Maple_LCD.h
- Revision:
- 0:0be38b583cf7
- Child:
- 1:aefa1992ce0f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Maple_LCD.h Sun Sep 25 11:37:21 2011 +0000 @@ -0,0 +1,32 @@ +// MAPLE board[MARM01-BASE] +// LCD(TC1602E-25A) driver +// +#ifndef MAPLE_LCD_H_ +#define MAPLE_LCD_H_ + +//constants +#define LCD_CURSOR_ON 1 +#define LCD_CURSOR_OFF 0 + +// prototypes +void LCD_clear_display(); +void LCD_return_home(); +void LCD_entry_mode_set(int id, int s); +void LCD_display_on_off_control(int d, int c, int b); +void LCD_cursor_or_display_shift(int sc, int rl); +void LCD_function_set(int n, int f); +void LCD_set_CGRAM_address(int a); +void LCD_set_DDRAM_address(int a); +char LCD_read_busy_flag_and_address(); +void LCD_write_data_to_CG_or_DDRAM(char d); +char LCD_read_data_from_CG_or_DDRAM(); +void LCD_CGRAM_customize(); + +void LCD_initialize(); +void LCD_print_char(char c); +void LCD_print_string(char s[]); +void LCD_print_hex(char c); +void LCD_locate(int row, int column); +void LCD_cursor(int c); + +#endif