TM1638_plus 2.2.0
Arduino library for Tm1638 modules
Static Protected Member Functions | Static Protected Attributes | List of all members
SevenSegmentFont Class Reference

Class that provides access to a seven-segment font data table. More...

#include <seven_segment_font_data.h>

Inheritance diagram for SevenSegmentFont:
Inheritance graph
[legend]

Static Protected Member Functions

static const uint8_t * pFontSevenSegptr ()
 Retrieves a pointer to the seven-segment font data table.
 

Static Protected Attributes

static constexpr uint8_t _ASCII_FONT_OFFSET = 0x20
 
static constexpr uint8_t _ASCII_FONT_END = 0x7B
 
static constexpr uint8_t _ASCII_FONT_HEX_OFFSET = 0x10
 
static constexpr uint8_t DEC_POINT_7_MASK = 0x80
 

Detailed Description

Class that provides access to a seven-segment font data table.

Member Function Documentation

◆ pFontSevenSegptr()

const uint8_t * SevenSegmentFont::pFontSevenSegptr ( )
staticprotected

Retrieves a pointer to the seven-segment font data table.

Returns
Pointer to the font data array.

Member Data Documentation

◆ _ASCII_FONT_END

constexpr uint8_t SevenSegmentFont::_ASCII_FONT_END = 0x7B
staticconstexprprotected

End of ASCII Table + 1

◆ _ASCII_FONT_HEX_OFFSET

constexpr uint8_t SevenSegmentFont::_ASCII_FONT_HEX_OFFSET = 0x10
staticconstexprprotected

ASCII table offset to reach the number position

◆ _ASCII_FONT_OFFSET

constexpr uint8_t SevenSegmentFont::_ASCII_FONT_OFFSET = 0x20
staticconstexprprotected

Offset in the ASCII table for font Start position

◆ DEC_POINT_7_MASK

constexpr uint8_t SevenSegmentFont::DEC_POINT_7_MASK = 0x80
staticconstexprprotected

Mask to switch on 7 seg decimal point


The documentation for this class was generated from the following files: