Figure 9-3
Sending commands to the display
Other LCD Library Functions
In addition to the functions that you have used in this example, there are a number of other
functions that you can use:
• home
is the same as
setCursor(0,0)
: it moves the cursor to top-left.
• cursor
displays a cursor.
• noCursor
specifies not to display a cursor.
• blink
makes the cursor blink.
• noBlink
stops the cursor from blinking.
• noDisplay
turns off the display without removing the content.
• display
turns the display back on after
noDisplay
.
• scrollDisplayLeft
moves all the text on the display one character position to the left.
• scrollDisplayRight
moves all the text on the display one character position to the right.
• autoscroll
activates
a mode in which, as new characters
are added at the cursor, the
existing text is pushed in the direction
determined by the functions
leftToRight
and
Dostları ilə paylaş: