diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2009-07-25 18:26:29 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2009-07-25 18:26:29 +0000 |
commit | 58b4e52f7f7340f50f56363575dd2b08d71eec0e (patch) | |
tree | 93ff67618e28af462666b56c36266fba53111092 /libraries/LiquidCrystal/LiquidCrystal.cpp | |
parent | f504460fc47cbd8d0e127e410263558912259f64 (diff) |
Updating LiquidCrystal API and examples.
Diffstat (limited to 'libraries/LiquidCrystal/LiquidCrystal.cpp')
-rwxr-xr-x | libraries/LiquidCrystal/LiquidCrystal.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/LiquidCrystal/LiquidCrystal.cpp b/libraries/LiquidCrystal/LiquidCrystal.cpp index 4e46318..b66f107 100755 --- a/libraries/LiquidCrystal/LiquidCrystal.cpp +++ b/libraries/LiquidCrystal/LiquidCrystal.cpp @@ -219,25 +219,25 @@ void LiquidCrystal::scrollDisplayRight(void) { } // This is for text that flows Left to Right -void LiquidCrystal::shiftLeft(void) { +void LiquidCrystal::leftToRight(void) { _displaymode |= LCD_ENTRYLEFT; command(LCD_ENTRYMODESET | _displaymode); } // This is for text that flows Right to Left -void LiquidCrystal::shiftRight(void) { +void LiquidCrystal::rightToLeft(void) { _displaymode &= ~LCD_ENTRYLEFT; command(LCD_ENTRYMODESET | _displaymode); } // This will 'right justify' text from the cursor -void LiquidCrystal::shiftIncrement(void) { +void LiquidCrystal::autoscroll(void) { _displaymode |= LCD_ENTRYSHIFTINCREMENT; command(LCD_ENTRYMODESET | _displaymode); } // This will 'left justify' text from the cursor -void LiquidCrystal::shiftDecrement(void) { +void LiquidCrystal::noAutoscroll(void) { _displaymode &= ~LCD_ENTRYSHIFTINCREMENT; command(LCD_ENTRYMODESET | _displaymode); } |