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

Loading...
Searching...
No Matches
MAX7219_CH32.h File Reference
`#include <Arduino.h>`

Go to the source code of this file.

## Classes
class | MAX7219
| Main class for controlling MAX7219 7-segment displays. More...

## Macros
#define | MAX7219_MODE_DECODE 0xFF
#define | MAX7219_MODE_NO_DECODE 0x00
#define | MAX7219_ALIGN_LEFT 0
#define | MAX7219_ALIGN_RIGHT 1
#define | MAX7219_ALIGN_CENTER 2
#define | MAX7219_REG_NOOP 0x00
#define | MAX7219_REG_DIGIT0 0x01
#define | MAX7219_REG_DIGIT1 0x02
#define | MAX7219_REG_DIGIT2 0x03
#define | MAX7219_REG_DIGIT3 0x04
#define | MAX7219_REG_DIGIT4 0x05
#define | MAX7219_REG_DIGIT5 0x06
#define | MAX7219_REG_DIGIT6 0x07
#define | MAX7219_REG_DIGIT7 0x08
#define | MAX7219_REG_DECODE 0x09
#define | MAX7219_REG_INTENSITY 0x0A
#define | MAX7219_REG_SCANLIMIT 0x0B
#define | MAX7219_REG_SHUTDOWN 0x0C
#define | MAX7219_REG_DISPLAYTEST 0x0F

## Macro Definition Documentation

## ◆ MAX7219_ALIGN_CENTER

#define MAX7219_ALIGN_CENTER 2

Definition at line 36 of file MAX7219_CH32.h.

## ◆ MAX7219_ALIGN_LEFT

#define MAX7219_ALIGN_LEFT 0

Definition at line 34 of file MAX7219_CH32.h.

## ◆ MAX7219_ALIGN_RIGHT

#define MAX7219_ALIGN_RIGHT 1

Definition at line 35 of file MAX7219_CH32.h.

## ◆ MAX7219_MODE_DECODE

#define MAX7219_MODE_DECODE 0xFF

Definition at line 28 of file MAX7219_CH32.h.

## ◆ MAX7219_MODE_NO_DECODE

#define MAX7219_MODE_NO_DECODE 0x00

Definition at line 29 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DECODE

#define MAX7219_REG_DECODE 0x09

Definition at line 50 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT0

#define MAX7219_REG_DIGIT0 0x01

Definition at line 42 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT1

#define MAX7219_REG_DIGIT1 0x02

Definition at line 43 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT2

#define MAX7219_REG_DIGIT2 0x03

Definition at line 44 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT3

#define MAX7219_REG_DIGIT3 0x04

Definition at line 45 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT4

#define MAX7219_REG_DIGIT4 0x05

Definition at line 46 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT5

#define MAX7219_REG_DIGIT5 0x06

Definition at line 47 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT6

#define MAX7219_REG_DIGIT6 0x07

Definition at line 48 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DIGIT7

#define MAX7219_REG_DIGIT7 0x08

Definition at line 49 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_DISPLAYTEST

#define MAX7219_REG_DISPLAYTEST 0x0F

Definition at line 54 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_INTENSITY

#define MAX7219_REG_INTENSITY 0x0A

Definition at line 51 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_NOOP

#define MAX7219_REG_NOOP 0x00

Definition at line 41 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_SCANLIMIT

#define MAX7219_REG_SCANLIMIT 0x0B

Definition at line 52 of file MAX7219_CH32.h.

## ◆ MAX7219_REG_SHUTDOWN

#define MAX7219_REG_SHUTDOWN 0x0C

Definition at line 53 of file MAX7219_CH32.h.