Page 1 of 1

LCD display only 1st caracter per lcd.print command

Posted: Thu May 26, 2016 1:52 am
by olivier
Hello,

I try to reactivate a OBD KIT (Arduino OBD-II Telematics Kit #3 ) that I purchase 2 years ago, with the original libraries and software, but the lcd displays only 1 caracter per line. Since then, I think that the only change is the Arduino IDE (1.6.7).
Is there a way to make it working?
Thanks.

Re: LCD display only 1st caracter per lcd.print command

Posted: Thu Dec 08, 2016 12:26 pm
by kumakiri
You will have to modify the Arduino library to make it suitable for multi-line.

~\Arduino\libraries\MultiLCD\R61581.cpp:

size_t LCD_R61581::write(uint8_t c)
{
(....)
return 1;
}

++ add last line "return 1;"


~Arduino\hardware\arduino\avr\cores\arduino\Print.cpp:

size_t Print::println(void)
{
return write('\r') + write('\n');
}

++ renew "return write("\r\n");"


for further information, see http://forum.arduino.cc/index.php?topic ... msg2921626