AVRly - AVR Development Resources
|
Configuration struct, to be instantiated and values assigned before passing it's address into and calling lcd_init(). More...
#include <hd44780_lcd.h>
Public Attributes | |
bool | eight_bit_mode |
true = 8 bit mode, false = 4 bit mode. More... | |
bool | two_line_display |
true = 2 lines, false = 1 line. More... | |
bool | five_by_ten_font |
true = 5x10 dots, false = 5x8 dots. More... | |
bool | increment_counter |
true = increment, false = decrement. More... | |
bool | display_shift |
true = display shift, false = cursor shift. More... | |
bool | cursor_enable |
true = enabled, false = disabled. More... | |
bool | blink_enable |
true = enabled, false = disabled. More... | |
Configuration struct, to be instantiated and values assigned before passing it's address into and calling lcd_init().
NOTE: 5x10 font cannot be used in conjunction with 2 line display. 4 bit mode takes at least twice as long as 8 bit mode to send each character, but frees up some GPIO pins.
Definition at line 56 of file hd44780_lcd.h.
bool lcd_config_t::eight_bit_mode |
true = 8 bit mode, false = 4 bit mode.
Definition at line 58 of file hd44780_lcd.h.
bool lcd_config_t::two_line_display |
true = 2 lines, false = 1 line.
Definition at line 59 of file hd44780_lcd.h.
bool lcd_config_t::five_by_ten_font |
true = 5x10 dots, false = 5x8 dots.
Definition at line 60 of file hd44780_lcd.h.
bool lcd_config_t::increment_counter |
true = increment, false = decrement.
Definition at line 61 of file hd44780_lcd.h.
bool lcd_config_t::display_shift |
true = display shift, false = cursor shift.
Definition at line 62 of file hd44780_lcd.h.
bool lcd_config_t::cursor_enable |
true = enabled, false = disabled.
Definition at line 63 of file hd44780_lcd.h.
bool lcd_config_t::blink_enable |
true = enabled, false = disabled.
Definition at line 64 of file hd44780_lcd.h.