Pages: [1]   Go Down
Author Topic: LiquidCrystal::Begin(...)  (Read 731 times)
0 Members and 1 Guest are viewing this topic.
Oregon, U.S.A.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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;
   }
 
 
Logged

Pages: [1]   Go Up
Jump to: