MAX7219_CH32 Library 1.0.0 A lightweight library for controlling MAX7219 7-segment displays

Loading...
Searching...
No Matches
MAX7219_CH32.cpp File Reference
`#include <Arduino.h>`
`#include <string.h>`
`#include <stdlib.h>`
`#include "MAX7219_CH32.h"`

Go to the source code of this file.

## Macros
#define | SEGMENT_BLANK 0b00000000
#define | SEGMENT_MINUS 0b00000001
#define | SEGMENT_DOT 0b10000000

## Variables
const uint8_t | SEGMENT_DIGITS [10]
const uint8_t | SEGMENT_LETTERS [26]
const uint8_t | SEGMENT_HEX [6]

## Macro Definition Documentation

## ◆ SEGMENT_BLANK

#define SEGMENT_BLANK 0b00000000

Definition at line 84 of file MAX7219_CH32.cpp.

## ◆ SEGMENT_DOT

#define SEGMENT_DOT 0b10000000

Definition at line 86 of file MAX7219_CH32.cpp.

## ◆ SEGMENT_MINUS

#define SEGMENT_MINUS 0b00000001

Definition at line 85 of file MAX7219_CH32.cpp.

## Variable Documentation

## ◆ SEGMENT_DIGITS

const uint8_t SEGMENT_DIGITS[10]

Initial value:
= {
0b01111110,
0b00110000,
0b01101101,
0b01111001,
0b00110011,
0b01011011,
0b01011111,
0b01110000,
0b01111111,
0b01111011
}

Definition at line 30 of file MAX7219_CH32.cpp.

## ◆ SEGMENT_HEX

const uint8_t SEGMENT_HEX[6]

Initial value:
= {
0b01110111,
0b00011111,
0b01001110,
0b00111101,
0b01001111,
0b01000111
}

Definition at line 74 of file MAX7219_CH32.cpp.

## ◆ SEGMENT_LETTERS

const uint8_t SEGMENT_LETTERS[26]

Initial value:
= {
0b01110111,
0b00011111,
0b01001110,
0b00111101,
0b01001111,
0b01000111,
0b01011110,
0b00110111,
0b00000110,
0b00111100,
0b01010111,
0b00001110,
0b01010100,
0b00010101,
0b01111110,
0b01100111,
0b01110011,
0b00000101,
0b01011011,
0b00001111,
0b00111110,
0b00011100,
0b00101010,
0b00110111,
0b00111011,
0b01101101
}

Definition at line 44 of file MAX7219_CH32.cpp.