Control Panel

Matrix Keypad, Analog Keypad and Alphabet LCD
Cheat Sheet: User Interface or Control Panel

Control Panel - LCD + Keypad


LCD and Analog Keypad test - Arduino c code version


LCD test List of function:
void lcd1_initialize(void);
void lcd1_home(void);
void lcd1_clear(void);
void lcd1_goto(unsigned char address);
void lcd1_shift(unsigned char direction, unsigned char shifting_time, unsigned int speed_ms);  //Note : direction = LCD_RIGHT, LCD_LEFT
void lcd1_cgram(unsigned char cgram_address, unsigned char *graphic);  //Note :  ex; data[8] = {0b11111,0b11111,0b11111,0b11111,0b11111,0b11111,0b11111,0b11111}; , cgram_address : 0 to 7
void lcd1_senddata(unsigned char c, unsigned char b_rs);
void lcd1_putchar(unsigned char charachter);
void lcd1_printf(unsigned char *string);
void lcd1_numbertoascii(float number);  //Note : Output format in xxx.xxx where x = number
void lcd1_printnumber(unsigned long decimal_number);  //Note : Output on LCD shows 32 bit binary, hexadecimal and decimal
void lcd1_num(unsigned long int no, char base, char digit);

void lcd2_initialize(void);
void lcd2_home(void);
void lcd2_clear(void);
void lcd2_goto(unsigned char address);
void lcd2_shift(unsigned char direction, unsigned char shifting_time, unsigned int speed_ms);  //Note : direction = LCD_RIGHT, LCD_LEFT
void lcd2_cgram(unsigned char cgram_address, unsigned char *graphic);  //Note :  ex; data[8] = {0b11111,0b11111,0b11111,0b11111,0b11111,0b11111,0b11111,0b11111}; , cgram_address : 0 to 7
void lcd2_senddata(unsigned char c, unsigned char b_rs);
void lcd2_putchar(unsigned char charachter);
void lcd2_printf(unsigned char *string);
void lcd2_numbertoascii(float number);  //Note : Output format in xxx.xxx where x = number
void lcd2_printnumber(unsigned long decimal_number);  //Note : Output on LCD shows 32 bit binary, hexadecimal and decimal
void lcd2_num(unsigned long int no, char base, char digit);
LCD Test Reference
LCD Test Video

Analog Keypad test List of function:
unsigned char KeypadInput;
void analog_keypad(void); //Note : If no button push, KeypadInput = ' '
Analog Keypad Test Reference 
Analog Keypad Test Video
 

No comments:

Post a Comment