Hey Louis,
I think the hardware is in order now but I’m still not getting output. Here’s what I’ve got so far:
from PixelvationEngine_HUB75.ino:
#include <MatrixHardware_ESP32_HUB75Adapter_V0_I2sIn1Bit.h>
#include <SmartMatrix.h>
#include “i2s_in.h”
#ifndef GPIO_I2S_IN_PIN_CLK
#pragma GCC error “I2S In pins not defined, include hardware-appropriate header at the top of your sketch”
#endif
// colorwheel.c has been modified to use the gimp32x32bitmap struct
#include “colorwheel.c”
#define COLOR_DEPTH 48 // known working: 24, 48 - If the sketch uses type rgb24
directly, COLOR_DEPTH must be 24
uint16_t kMatrixWidth = 64; // Set to the width of your display, must be a multiple of 8
uint16_t kMatrixHeight = 64; // Set to the height of your display
uint8_t kRefreshDepth = 36; // Tradeoff of color quality vs refresh rate, max brightness, and RAM usage. 36 is typically good, drop down to 24 if you need to. On Teensy, multiples of 3, up to 48: 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48. On ESP32: 24, 36, 48
uint8_t kDmaBufferRows = 4; // known working: 2-4, use 2 to save RAM, more to keep from dropping frames and automatically lowering refresh rate. (This isn’t used on ESP32, leave as default)
uint8_t kPanelType = SM_PANELTYPE_HUB75_64ROW_MOD32SCAN; // Choose the configuration that matches your panels. See more details in MatrixCommonHub75.h and the docs: Home · pixelmatix/SmartMatrix Wiki · GitHub
uint32_t kMatrixOptions = (SM_HUB75_OPTIONS_NONE); // see docs for options: Home · pixelmatix/SmartMatrix Wiki · GitHub
const uint8_t kBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE);
From MatrixHardware_ESP32_HUB75Adapter_V0_I2sIn1Bit:
// include SmartMatrix Library MatrixHardware file first
#include <MatrixHardware_ESP32_SmartLedShieldV0.h>
#define I2S_RISING_EDGE_CLK true
#define GPIO_I2S_IN_PIN_CLK (gpio_num_t)17
#define GPIO_I2S_IN_PIN_EN (gpio_num_t)15
#define GPIO_I2S_IN_PIN_D0 (gpio_num_t)16
#define GPIO_I2S_IN_PIN_D1 -1
#define GPIO_I2S_IN_PIN_D2 -1
#define GPIO_I2S_IN_PIN_D3 -1
#define GPIO_I2S_IN_PIN_D4 -1
#define GPIO_I2S_IN_PIN_D5 -1
#define GPIO_I2S_IN_PIN_D6 -1
#define GPIO_I2S_IN_PIN_D7 -1
Any thoughts?
Thanks again for all your help!
-Mike
Edit: Panel is type P3-64*64-32S-V1.0 from Adafruit