Block_TypeDef Struct ReferenceKit Drivers > SegmentLcd

Defines segment COM and BIT fields for top and bottom row blocks. The bit pattern shown above for characters can be split into upper and lower portions for animation purposes. There are separate COM and BIT numbers which together represent a set of stacked blocks which can be shown on two rows in the segmented LCD screen.

There are four blocks shown on the top row:

*  -------0------
*
* |   \5  |6  /7 |
* |2   \  |  /   |1
*
*  --3---  ---4--
* 

There are four blocks shown on the bottom row :

*  --3---  ---4--
*
* |    /  |  \5  |
* |2  /7  |6  \  |0
*
*  -------1------
* 

The upper row has four blocks which are placed directly above the four blocks on the lower row. Each block can be in one of three states: blank - outer five segments off, inner three segments off outer - outer five segments on, inner three segments off inner - outer five segments off, inner three segments on full - outer five segments on, inner three segments on

* Top row:    0 1 2 3 4 5 6 7
* Bottom row: 0 1 2 3 4 5 6 7
* 

Definition at line 167 of file segmentlcd.c.

Data Fields

uint8_t bit [8]
 
uint8_t com [8]
 

Field Documentation

uint8_t Block_TypeDef::bit[8]

LCD bit number

Definition at line 169 of file segmentlcd.c.

uint8_t Block_TypeDef::com[8]

LCD COM line (for multiplexing)

Definition at line 168 of file segmentlcd.c.


The documentation for this struct was generated from the following file:
  • C:/cygwin/home/caamunds/work/super/hardware/kit/common/drivers/segmentlcd.c