Loading [MathJax]/extensions/tex2jax.js
ProtoTracer  1.0
Real-time 3D rendering and animation engine
All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Pages
SmartMatrixAPA102.h File Reference
#include <MatrixHardware_Teensy4_ShieldV5.h>
#include <SmartMatrix.h>
Include dependency graph for SmartMatrixAPA102.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SMARTMATRIXHUB75
 
#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 kApaMatrixWidth = 176
 Width of the APA matrix or strip.
 
const uint16_t kApaMatrixHeight = 1
 Height of the APA matrix. Set to 1 for strips.
 
const uint8_t kApaRefreshDepth = 36
 Not currently used for APA matrices.
 
const uint8_t kApaDmaBufferRows = 1
 Not currently used for APA matrices.
 
const uint8_t kApaPanelType = 0
 Not currently used for APA matrices.
 
const uint32_t kApaMatrixOptions = (SM_APA102_OPTIONS_COLOR_ORDER_BGR)
 Options for APA matrices, including color order.
 
const uint8_t kApaBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE)
 Background layer options for APA matrices.
 

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 33 of file SmartMatrixAPA102.h.

◆ ENABLE_APA102_REFRESH

#define ENABLE_APA102_REFRESH   1

Enables APA102 refresh support.

Definition at line 39 of file SmartMatrixAPA102.h.

◆ SMARTMATRIXHUB75

#define SMARTMATRIXHUB75

Definition at line 17 of file SmartMatrixAPA102.h.

Variable Documentation

◆ kApaBackgroundLayerOptions

kApaBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE)

Background layer options for APA matrices.

Definition at line 83 of file SmartMatrixAPA102.h.

◆ kApaDmaBufferRows

kApaDmaBufferRows = 1

Not currently used for APA matrices.

Definition at line 63 of file SmartMatrixAPA102.h.

◆ kApaMatrixHeight

kApaMatrixHeight = 1

Height of the APA matrix. Set to 1 for strips.

Definition at line 51 of file SmartMatrixAPA102.h.

◆ kApaMatrixOptions

kApaMatrixOptions = (SM_APA102_OPTIONS_COLOR_ORDER_BGR)

Options for APA matrices, including color order.

The default color order is BGR. Adjust as needed to match your LEDs.

Definition at line 77 of file SmartMatrixAPA102.h.

◆ kApaMatrixWidth

kApaMatrixWidth = 176

Width of the APA matrix or strip.

Definition at line 45 of file SmartMatrixAPA102.h.

Referenced by APA102Controller::Display(), HUB75Controller::Display(), and HUB75ControllerSplit::Display().

◆ kApaPanelType

kApaPanelType = 0

Not currently used for APA matrices.

Definition at line 69 of file SmartMatrixAPA102.h.

◆ kApaRefreshDepth

kApaRefreshDepth = 36

Not currently used for APA matrices.

Definition at line 57 of file SmartMatrixAPA102.h.