Grove - Serial LCD

Dependents:   Arch_GroveRTC_Ex1

Embed: (wiki syntax)

« Back to documentation index

SerialLCD Class Reference

SerialLCD Class Reference

Grove Serial LCD libray. More...

#include <SerialLCD.h>

Public Member Functions

void begin ()
 Initialize the Serial LCD Driver.
void clear ()
 Clear the display.
void home ()
 Return to home(top-left corner of LCD)
void noDisplay ()
 Switch the display off without clearing RAM.
void display ()
 Switch the display on.
void noBlink ()
 Switch off the blinking cursor.
void blink ()
 Switch on the blinking cursor.
void noCursor ()
 Switch the underline cursor off.
void cursor ()
 Switch the underline cursor on.
void scrollDisplayLeft ()
 Scroll the display left without changing the RAM.
void scrollDisplayRight ()
 Scroll the display right without changing the RAM.
void leftToRight ()
 Set the text flow "Left to Right".
void rightToLeft ()
 Set the text flow "Right to Left".
void autoscroll ()
 This will 'right justify' text from the cursor.
void noAutoscroll ()
 This will 'left justify' text from the cursor.
void setCursor (uint8_t, uint8_t)
 Set Cursor to (Column,Row) Position.
void noPower (void)
 Switch off the LCD power.
void Power (void)
 Switch on the LCD power.
void noBacklight (void)
 Switch off the back light.
void backlight (void)
 Switch on the back light.
void print (uint8_t b)
 Print char.
void print (const char[])
 Print char.

Detailed Description

Grove Serial LCD libray.

The Serial LCD is connected to mbed through a UART port.

Definition at line 18 of file SerialLCD.h.


Member Function Documentation

void autoscroll ( void   )

This will 'right justify' text from the cursor.

Definition at line 151 of file SerialLCD.cpp.

void backlight ( void   )

Switch on the back light.

Definition at line 181 of file SerialLCD.cpp.

void begin (  )

Initialize the Serial LCD Driver.

Definition at line 52 of file SerialLCD.cpp.

void blink (  )

Switch on the blinking cursor.

Definition at line 121 of file SerialLCD.cpp.

void clear (  )

Clear the display.

Definition at line 69 of file SerialLCD.cpp.

void cursor (  )

Switch the underline cursor on.

Definition at line 108 of file SerialLCD.cpp.

void display (  )

Switch the display on.

Definition at line 96 of file SerialLCD.cpp.

void home (  )

Return to home(top-left corner of LCD)

Definition at line 75 of file SerialLCD.cpp.

void leftToRight ( void   )

Set the text flow "Left to Right".

Definition at line 139 of file SerialLCD.cpp.

void noAutoscroll ( void   )

This will 'left justify' text from the cursor.

Definition at line 157 of file SerialLCD.cpp.

void noBacklight ( void   )

Switch off the back light.

Definition at line 175 of file SerialLCD.cpp.

void noBlink (  )

Switch off the blinking cursor.

Definition at line 115 of file SerialLCD.cpp.

void noCursor (  )

Switch the underline cursor off.

Definition at line 102 of file SerialLCD.cpp.

void noDisplay (  )

Switch the display off without clearing RAM.

Definition at line 90 of file SerialLCD.cpp.

void noPower ( void   )

Switch off the LCD power.

Definition at line 169 of file SerialLCD.cpp.

void Power ( void   )

Switch on the LCD power.

Definition at line 163 of file SerialLCD.cpp.

void print ( uint8_t  b )

Print char.

Definition at line 187 of file SerialLCD.cpp.

void print ( const char  b[] )

Print char.

Definition at line 193 of file SerialLCD.cpp.

void rightToLeft ( void   )

Set the text flow "Right to Left".

Definition at line 145 of file SerialLCD.cpp.

void scrollDisplayLeft ( void   )

Scroll the display left without changing the RAM.

Definition at line 127 of file SerialLCD.cpp.

void scrollDisplayRight ( void   )

Scroll the display right without changing the RAM.

Definition at line 133 of file SerialLCD.cpp.

void setCursor ( uint8_t  column,
uint8_t  row 
)

Set Cursor to (Column,Row) Position.

Definition at line 82 of file SerialLCD.cpp.