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.
LC75711_ASTON Class Reference
Constructor for class for driving Sanyo LC75711 VFD controller as used in ASTON. More...
#include <LC75711.h>
Inherits LC75711.
Public Types | |
| enum | Icon |
Enums for Icons. More... | |
| enum | Mode |
Enums for display mode. More... | |
Public Member Functions | |
| LC75711_ASTON (PinName mosi, PinName sclk, PinName cs) | |
| Constructor for class for driving Sanyo LC75711 VFD controller as used in ASTON. | |
| int | putc (int c) |
| Write a character to the Display. | |
| int | printf (const char *format,...) |
| Write a formatted string to the Display. | |
| void | locate (int column) |
| Locate cursor to a screen column. | |
| void | cls (bool clrAll=false) |
| Clear the screen and locate to 0. | |
| void | setIcon (Icon icon) |
| Set Icon. | |
| void | clrIcon (Icon icon) |
| Clr Icon. | |
| int | columns () |
| Number of screen columns. | |
| void | cls () |
| Clear the screen and locate to 0. | |
| void | setBlink (int grids=LC75711_GR_ALL) |
| Set the Blink mode. | |
| void | clrBlink (int grids=LC75711_GR_ALL) |
| Clr the Blink mode. | |
| void | setBrightness (char brightness=LC75711_BRT_DEF) |
| Set Brightness. | |
| void | setDisplay (bool on) |
| Set the Display mode On/off. | |
| void | setUDC (unsigned char udc_idx, UDCData_t udc_data) |
| Set User Defined Characters (UDC) | |
| void | writeData (char data, char address) |
| Write Data to LC75711. | |
| void | writeAData (char adata, char address) |
| Write Additional Data to LC75711. | |
Protected Member Functions | |
| virtual int | _putc (int value) |
| Write a single character (Stream implementation) | |
| virtual int | _getc () |
| Get a single character (Stream implementation) | |
Detailed Description
Constructor for class for driving Sanyo LC75711 VFD controller as used in ASTON.
Supports 10 Grids of 35 Segments without additional Segments and uses Grid 11 for Icon segments.
- Parameters:
-
PinName mosi, sclk, cs SPI bus pins
Definition at line 514 of file LC75711.h.
Member Enumeration Documentation
| enum Icon |
Constructor & Destructor Documentation
| LC75711_ASTON | ( | PinName | mosi, |
| PinName | sclk, | ||
| PinName | cs | ||
| ) |
Constructor for class for driving Sanyo LC75711 VFD controller as used in ASTON.
Constructor for class for Sanyo LC75711 VFD controller as used in ASTON.
Supports 10 Grids of 35 Segments without additional Segments and uses Grid 11 for Icon segments.
- Parameters:
-
PinName mosi, sclk, cs SPI bus pins
Supports 10 Grids of 35 Segments without additional Segments and uses Grid 11 for Icon segments.
- Parameters:
-
PinName mosi, miso, sclk, cs SPI bus pins
Definition at line 334 of file LC75711.cpp.
Member Function Documentation
| int _getc | ( | ) | [protected, virtual] |
Get a single character (Stream implementation)
- Parameters:
-
none
- Returns:
- -1
Definition at line 471 of file LC75711.cpp.
| int _putc | ( | int | value ) | [protected, virtual] |
Write a single character (Stream implementation)
- Parameters:
-
value char to print
- Returns:
- value;
Definition at line 433 of file LC75711.cpp.
| void clrBlink | ( | int | grids = LC75711_GR_ALL ) |
[inherited] |
Clr the Blink mode.
- Parameters:
-
int grids selected grids for Blinking disable (default = all)
- Returns:
- none
Definition at line 121 of file LC75711.cpp.
| void clrIcon | ( | Icon | icon ) |
Clr Icon.
- Parameters:
-
Icon Enums Icon Encodes UDC_0 byte index in 8 MSBs and encodes Icon bit/segment in 8 LSBs
- Returns:
- none
Definition at line 415 of file LC75711.cpp.
| void cls | ( | ) | [inherited] |
Clear the screen and locate to 0.
- Parameters:
-
none
- Returns:
- none
Definition at line 88 of file LC75711.cpp.
| void cls | ( | bool | clrAll = false ) |
Clear the screen and locate to 0.
- Parameters:
-
bool clrAll Clear Icons also (default = false) bool clrAll Clear Icons also (default = false)
- Returns:
- none
Definition at line 373 of file LC75711.cpp.
| int columns | ( | ) |
Number of screen columns.
- Parameters:
-
none
- Returns:
- columns
Definition at line 363 of file LC75711.cpp.
| void locate | ( | int | column ) |
Locate cursor to a screen column.
- Parameters:
-
column The horizontal position from the left, indexed from 0
- Returns:
- none
Definition at line 349 of file LC75711.cpp.
| int printf | ( | const char * | format, |
| ... | |||
| ) |
Write a formatted string to the Display.
- Parameters:
-
format A printf-style format string, followed by the variables to use in formatting the string.
| int putc | ( | int | c ) |
Write a character to the Display.
- Parameters:
-
c The character to write to the display
- Returns:
- char written
| void setBlink | ( | int | grids = LC75711_GR_ALL ) |
[inherited] |
Set the Blink mode.
- Parameters:
-
int grids selected grids for Blinking enable (default = all)
- Returns:
- none
Definition at line 105 of file LC75711.cpp.
| void setBrightness | ( | char | brightness = LC75711_BRT_DEF ) |
[inherited] |
Set Brightness.
- Parameters:
-
char brightness (8 significant bits, valid range 0..239 (dutycycle linked to number of grids)
- Returns:
- none
Definition at line 137 of file LC75711.cpp.
| void setDisplay | ( | bool | on ) | [inherited] |
Set the Display mode On/off.
- Parameters:
-
bool display mode
- Returns:
- none
Definition at line 154 of file LC75711.cpp.
| void setIcon | ( | Icon | icon ) |
Set Icon.
- Parameters:
-
Icon Enums Icon Encodes UDC_0 byte index in 8 MSBs and encodes Icon bit/segment in 8 LSBs
- Returns:
- none
Definition at line 397 of file LC75711.cpp.
| void setUDC | ( | unsigned char | udc_idx, |
| UDCData_t | udc_data | ||
| ) | [inherited] |
Set User Defined Characters (UDC)
- Parameters:
-
unsigned char udc_idx The Index of the UDC (0..7) UDCData_t udc_data The bitpattern for the UDC (7 bytes)
- Returns:
- none
Definition at line 177 of file LC75711.cpp.
| void writeAData | ( | char | adata, |
| char | address | ||
| ) | [inherited] |
Write Additional Data to LC75711.
- Parameters:
-
char adata Additional code (annunciator) char address Parameter for data
- Returns:
- none
Definition at line 240 of file LC75711.cpp.
| void writeData | ( | char | data, |
| char | address | ||
| ) | [inherited] |
Write Data to LC75711.
- Parameters:
-
char data Character code char address Parameter for data
- Returns:
- none
Definition at line 223 of file LC75711.cpp.
Generated on Thu Jul 14 2022 15:13:57 by
1.7.2
LC75711 VFD Driver for upto 16 Dot Matrix Characters,