Michael Kuchnik / Mbed 2 deprecated uLCD_Multiscreen

Dependencies:   4DGL-uLCD-SE mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

uLCD_Multiscreen Class Reference

uLCD_Multiscreen Class Reference

CLass represents an interface for seemlessly writing to multiple uLCD screens in parallel. More...

#include <uLCD_Multiscreen.h>

Public Member Functions

 uLCD_Multiscreen (vector< uLCD_4DGL * > screens)
 Makes a Multiscreen interface.
void cls ()
 Clears screen.
void unfilledRectangle (int x, int y, int w, int h, int color)
 Makes an unfilled rectangle.
void drawLine (int x1, int y1, int x2, int y2, int color)
 Draws a line.
void unfilledCircle (int x0, int y0, int radius, int color)
 Draws an unfilled circle.
void changeBackground (int color)
 Changes the background of the LCDs.
void setBaudRate (int rate)
 Sets the baud rate for all screens.

Detailed Description

CLass represents an interface for seemlessly writing to multiple uLCD screens in parallel.

Definition at line 9 of file uLCD_Multiscreen.h.


Constructor & Destructor Documentation

uLCD_Multiscreen ( vector< uLCD_4DGL * >  screens )

Makes a Multiscreen interface.

Parameters:
screensPointer to physical screens oriented from left to right in the vector.

Definition at line 3 of file uLCD_Multiscreen.cpp.


Member Function Documentation

void changeBackground ( int  color )

Changes the background of the LCDs.

Definition at line 116 of file uLCD_Multiscreen.cpp.

void cls (  )

Clears screen.

Definition at line 111 of file uLCD_Multiscreen.cpp.

void drawLine ( int  x1,
int  y1,
int  x2,
int  y2,
int  color 
)

Draws a line.

Definition at line 26 of file uLCD_Multiscreen.cpp.

void setBaudRate ( int  rate )

Sets the baud rate for all screens.

It is recommended to set this high.

Definition at line 119 of file uLCD_Multiscreen.cpp.

void unfilledCircle ( int  x0,
int  y0,
int  radius,
int  color 
)

Draws an unfilled circle.

Definition at line 82 of file uLCD_Multiscreen.cpp.

void unfilledRectangle ( int  x,
int  y,
int  w,
int  h,
int  color 
)

Makes an unfilled rectangle.

Definition at line 8 of file uLCD_Multiscreen.cpp.