Matthew Waddilove / Mbed 2 deprecated SerialLCD

Dependencies:   mbed

Dependents:   dev_board_test

Embed: (wiki syntax)

« Back to documentation index

SerialLCD Class Reference

SerialLCD Class Reference

class that implements an interface like TextLCD, for a serial LCD :) More...

#include <SerialLCD.h>

Data Structures

struct  Codes
 Enum with command codes. More...

Public Member Functions

 SerialLCD (PinName tx, PinName rx)
 Constructor.
void locate (int column, int row)
 Locate to a screen column and row.
void cls ()
 Clear the screen and locate to 0,0.
void send_command (int const command_code)
 Send a command.

Detailed Description

class that implements an interface like TextLCD, for a serial LCD :)

Definition at line 4 of file SerialLCD.h.


Constructor & Destructor Documentation

SerialLCD ( PinName  tx,
PinName  rx 
)

Constructor.

Definition at line 8 of file SerialLCD.h.


Member Function Documentation

void cls (  )

Clear the screen and locate to 0,0.

Definition at line 51 of file SerialLCD.h.

void locate ( int  column,
int  row 
)

Locate to a screen column and row.

Parameters:
columnThe horizontal position from the left, indexed from 0
rowThe vertical position from the top, indexed from 0

Definition at line 43 of file SerialLCD.h.

void send_command ( int const   command_code )

Send a command.

Definition at line 59 of file SerialLCD.h.