Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed-rtos mbed
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:
-
screens Pointer 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.
Generated on Thu Jul 14 2022 00:24:34 by
1.7.2