ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
SmartMatrixHUB75.h File Reference

Configuration file for SmartMatrix library with HUB75 panels and APA102 support. More...

#include <MatrixHardware_Teensy4_ShieldV5.h>
#include <SmartMatrix.h>
Include dependency graph for SmartMatrixHUB75.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SMARTMATRIXHUB75
 
#define ENABLE_HUB75_REFRESH   1
 Enables HUB75 refresh support.
 
#define COLOR_DEPTH   24
 Specifies the color depth used for storing pixels in the layers.
 
#define ENABLE_APA102_REFRESH   1
 Enables APA102 refresh support.
 

Variables

const uint16_t kMatrixWidth = 64
 Width of the HUB75 matrix.
 
const uint16_t kMatrixHeight = 64
 Height of the HUB75 matrix.
 
const uint8_t kRefreshDepth = 36
 Specifies the tradeoff between color quality and refresh rate for HUB75 matrices.
 
const uint8_t kDmaBufferRows = 4
 Number of DMA buffer rows for HUB75 matrices.
 
const uint8_t kPanelType = SM_PANELTYPE_HUB75_32ROW_MOD16SCAN
 Specifies the panel type for HUB75 matrices.
 
const uint32_t kMatrixOptions = (SM_HUB75_OPTIONS_NONE)
 Options for HUB75 matrices.
 
const uint8_t kBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE)
 Background layer options for HUB75 matrices.
 
const uint16_t kApaMatrixWidth = 176
 
const uint16_t kApaMatrixHeight = 1
 
const uint8_t kApaRefreshDepth = 36
 
const uint8_t kApaDmaBufferRows = 1
 
const uint8_t kApaPanelType = 0
 
const uint32_t kApaMatrixOptions = (SM_APA102_OPTIONS_COLOR_ORDER_BGR)
 
const uint8_t kApaBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE)
 

Detailed Description

Configuration file for SmartMatrix library with HUB75 panels and APA102 support.

This file provides hardware-specific configurations and settings for SmartMatrix library usage with HUB75 LED panels and APA102 LED strips.

SmartMatrix Library - Hardware-Specific Header File (for SmartMatrix Shield for Teensy 4 V5)

22/12/2024 22/12/2024 Coela Can't! Copyright (c) 2020 Louis Beaudoin (Pixelmatix)

This file provides hardware-specific configurations and settings for SmartMatrix library usage with HUB75 LED panels and APA102 LED strips, including support for RBG panels.

SmartMatrix Library - Hardware-Specific Header File (for SmartMatrix Shield for Teensy 4 V5)

22/12/2024 22/12/2024 Coela Can't! Copyright (c) 2020 Louis Beaudoin (Pixelmatix)

Definition in file SmartMatrixHUB75.h.

Macro Definition Documentation

◆ COLOR_DEPTH

#define COLOR_DEPTH   24

Specifies the color depth used for storing pixels in the layers.

Use 24 for most sketches. If the sketch uses type rgb24 directly, set COLOR_DEPTH to 24.

Definition at line 44 of file SmartMatrixHUB75.h.

◆ ENABLE_APA102_REFRESH

#define ENABLE_APA102_REFRESH   1

Enables APA102 refresh support.

Definition at line 92 of file SmartMatrixHUB75.h.

◆ ENABLE_HUB75_REFRESH

#define ENABLE_HUB75_REFRESH   1

Enables HUB75 refresh support.

Definition at line 36 of file SmartMatrixHUB75.h.

◆ SMARTMATRIXHUB75

#define SMARTMATRIXHUB75

Definition at line 17 of file SmartMatrixHUB75.h.

Variable Documentation

◆ kApaBackgroundLayerOptions

const uint8_t kApaBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE)

Definition at line 134 of file SmartMatrixHUB75.h.

◆ kApaDmaBufferRows

const uint8_t kApaDmaBufferRows = 1

Definition at line 116 of file SmartMatrixHUB75.h.

◆ kApaMatrixHeight

const uint16_t kApaMatrixHeight = 1

Definition at line 104 of file SmartMatrixHUB75.h.

◆ kApaMatrixOptions

Definition at line 128 of file SmartMatrixHUB75.h.

◆ kApaMatrixWidth

const uint16_t kApaMatrixWidth = 176

Definition at line 98 of file SmartMatrixHUB75.h.

◆ kApaPanelType

const uint8_t kApaPanelType = 0

Definition at line 122 of file SmartMatrixHUB75.h.

◆ kApaRefreshDepth

const uint8_t kApaRefreshDepth = 36

Definition at line 110 of file SmartMatrixHUB75.h.

◆ kBackgroundLayerOptions

kBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE)

Background layer options for HUB75 matrices.

Definition at line 86 of file SmartMatrixHUB75.h.

◆ kDmaBufferRows

kDmaBufferRows = 4

Number of DMA buffer rows for HUB75 matrices.

Definition at line 68 of file SmartMatrixHUB75.h.

◆ kMatrixHeight

kMatrixHeight = 64

Height of the HUB75 matrix.

Definition at line 56 of file SmartMatrixHUB75.h.

◆ kMatrixOptions

kMatrixOptions = (SM_HUB75_OPTIONS_NONE)

Options for HUB75 matrices.

Definition at line 80 of file SmartMatrixHUB75.h.

◆ kMatrixWidth

kMatrixWidth = 64

Width of the HUB75 matrix.

Definition at line 50 of file SmartMatrixHUB75.h.

◆ kPanelType

Specifies the panel type for HUB75 matrices.

Definition at line 74 of file SmartMatrixHUB75.h.

◆ kRefreshDepth

kRefreshDepth = 36

Specifies the tradeoff between color quality and refresh rate for HUB75 matrices.

Definition at line 62 of file SmartMatrixHUB75.h.