Wim Huiskamp / LC75711

Dependents:   mbed_LC75711

Embed: (wiki syntax)

« Back to documentation index

LC75711 Class Reference

LC75711 Class Reference

A class for driving Sanyo LC75711 VFD controller. More...

#include <LC75711.h>

Inherited by LC75711_ASTON.

Public Types

enum  Mode
 

Enums for display mode.

More...

Public Member Functions

 LC75711 (PinName mosi, PinName sclk, PinName cs, Mode mode=Grid11_Add8)
 Datatypes for display data.
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.

Detailed Description

A class for driving Sanyo LC75711 VFD controller.

Supports upto 16 Grids of 35 matrix segments. Also supports 3-8 additional segments (depending on number of grids). SPI bus interface device.

Definition at line 351 of file LC75711.h.


Member Enumeration Documentation

enum Mode

Enums for display mode.

Definition at line 355 of file LC75711.h.


Constructor & Destructor Documentation

LC75711 ( PinName  mosi,
PinName  sclk,
PinName  cs,
Mode  mode = Grid11_Add8 
)

Datatypes for display data.

Constructor for class for driving Sanyo LC75711 VFD controller.

Constructor for class for driving Sanyo LC75711 VFD controller

Supports upto 16 Grids of 35 matrix segments. Also supports 3-8 additional segments (depending on number of grids). SPI bus interface device.

Parameters:
PinNamemosi, sclk, cs SPI bus pins
Modeselects number of Grids and Segments (default 11 Grids, 35 matrix segments, 8 additional segments)

Supports upto 16 Grids of 35 matrix segments. Also supports 3-8 additional segments (depending on number of grids). SPI bus interface device.

Parameters:
PinNamemosi, sclk, cs SPI bus pins
Modeselects number of Grids and Segments (default 11 Grids, 35 matrix segments, 8 additional segments)

Definition at line 39 of file LC75711.cpp.


Member Function Documentation

void clrBlink ( int  grids = LC75711_GR_ALL )

Clr the Blink mode.

Parameters:
intgrids selected grids for Blinking disable (default = all)
Returns:
none

Definition at line 121 of file LC75711.cpp.

void cls (  )

Clear the screen and locate to 0.

Parameters:
none
Returns:
none

Definition at line 88 of file LC75711.cpp.

void setBlink ( int  grids = LC75711_GR_ALL )

Set the Blink mode.

Parameters:
intgrids selected grids for Blinking enable (default = all)
Returns:
none

Definition at line 105 of file LC75711.cpp.

void setBrightness ( char  brightness = LC75711_BRT_DEF )

Set Brightness.

Parameters:
charbrightness (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 )

Set the Display mode On/off.

Parameters:
booldisplay mode
Returns:
none

Definition at line 154 of file LC75711.cpp.

void setUDC ( unsigned char  udc_idx,
UDCData_t  udc_data 
)

Set User Defined Characters (UDC)

Parameters:
unsignedchar udc_idx The Index of the UDC (0..7)
UDCData_tudc_data The bitpattern for the UDC (7 bytes)
Returns:
none

Definition at line 177 of file LC75711.cpp.

void writeAData ( char  adata,
char  address 
)

Write Additional Data to LC75711.

Parameters:
charadata Additional code (annunciator)
charaddress Parameter for data
Returns:
none

Definition at line 240 of file LC75711.cpp.

void writeData ( char  data,
char  address 
)

Write Data to LC75711.

Parameters:
chardata Character code
charaddress Parameter for data
Returns:
none

Definition at line 223 of file LC75711.cpp.