Flexible character LCD library for AVR Microcontrollers
Collin J. Doering
943593d963
The initLCD function had the options of the function set instruction hard coded, and thus would cause issues while initializing screens with one line. This commit resolves this issue by checking the value of LCD_NUMBER_OF_LINES at compile time and creating a macro LCD_LINES with the appropriate bitmask for INSTR_FUNC_SET_N set or clear which is then used during the definition of the initLCD function. Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca> |
||
---|---|---|
.gitignore | ||
ansi_escapes.h | ||
doxygen.conf | ||
lcd_instr.h | ||
lcdLib.c | ||
lcdLib.h | ||
lcdLibConfig.h | ||
lcdOutput.c | ||
Makefile | ||
USART.c | ||
USART.h |