Go Down

Topic: LiquidCrystal::Begin(...) (Read 852 times) previous topic - next topic


To allow the display to be changed back from a two line display
to a one line display

The following three lines of code:
    if (lines > 1) {
      _displayfunction |= LCD_2LINE;

should be changed to:
    if (lines > 1) {
      _displayfunction |= LCD_2LINE;
   else {
     _displayfunction &= ~LCD_2LINE;

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131