Open bobnil opened 5 years ago
pifacecad_lcd_right_to_left and pifacecad_lcd_autoscroll_off modified cur_display_control instead of cur_entry_mode.
The descriptions of function in pifacecad.h had been copy and pasted, but the function names was not updated in the examples.
pifacecad.c
void pifacecad_lcd_right_to_left(void) // This will 'right justify' text from the cursor void pifacecad_lcd_autoscroll_on(void) {
pifacecad_lcd_send_command(LCD_ENTRYMODESET | cur_entry_mode); }
// This will 'left justify' text from the cursor void pifacecad_lcd_autoscroll_off(void) {
pifacecad.h
pifacecad_lcd_right_to_left and pifacecad_lcd_autoscroll_off modified cur_display_control instead of cur_entry_mode.
The descriptions of function in pifacecad.h had been copy and pasted, but the function names was not updated in the examples.
pifacecad.c
void pifacecad_lcd_right_to_left(void) // This will 'right justify' text from the cursor void pifacecad_lcd_autoscroll_on(void) {
pifacecad_lcd_send_command(LCD_ENTRYMODESET | cur_entry_mode); }
// This will 'left justify' text from the cursor void pifacecad_lcd_autoscroll_off(void) {
pifacecad.h