|
|
|
@ -6,22 +6,38 @@
|
|
|
|
|
#include "main.h"
|
|
|
|
|
#include "badapple.h"
|
|
|
|
|
|
|
|
|
|
#define R1 25
|
|
|
|
|
#define G1 27 //26
|
|
|
|
|
#define BL1 26 //27
|
|
|
|
|
#define R2 14
|
|
|
|
|
#define G2 13 //12
|
|
|
|
|
#define BL2 12 //13
|
|
|
|
|
#define CH_A 23
|
|
|
|
|
#define CH_B 22 //19
|
|
|
|
|
#define CH_C 5
|
|
|
|
|
#define CH_D 17
|
|
|
|
|
#define CH_E 32 // assign to any available pin if using panels with 1/32 scan
|
|
|
|
|
#define CLK 16
|
|
|
|
|
#define LAT 4
|
|
|
|
|
#define OE 15
|
|
|
|
|
|
|
|
|
|
#define PIN_E 32
|
|
|
|
|
#define R1 42
|
|
|
|
|
#define G1 40
|
|
|
|
|
#define BL1 41
|
|
|
|
|
#define R2 38
|
|
|
|
|
#define G2 37
|
|
|
|
|
#define BL2 39
|
|
|
|
|
#define CH_A 45
|
|
|
|
|
#define CH_B 36
|
|
|
|
|
#define CH_C 48
|
|
|
|
|
#define CH_D 35
|
|
|
|
|
#define CH_E 21
|
|
|
|
|
#define CLK 2
|
|
|
|
|
#define LAT 47
|
|
|
|
|
#define OE 14
|
|
|
|
|
|
|
|
|
|
// esp32 w/ wiring harness
|
|
|
|
|
// #define R1 25
|
|
|
|
|
// #define G1 27 //26
|
|
|
|
|
// #define BL1 26 //27
|
|
|
|
|
// #define R2 14
|
|
|
|
|
// #define G2 13 //12
|
|
|
|
|
// #define BL2 12 //13
|
|
|
|
|
// #define CH_A 23
|
|
|
|
|
// #define CH_B 22 //19
|
|
|
|
|
// #define CH_C 5
|
|
|
|
|
// #define CH_D 17
|
|
|
|
|
// #define CH_E 32 // assign to any available pin if using panels with 1/32 scan
|
|
|
|
|
// #define CLK 16
|
|
|
|
|
// #define LAT 4
|
|
|
|
|
// #define OE 15
|
|
|
|
|
|
|
|
|
|
#define PIN_E 21
|
|
|
|
|
#define PANEL_WIDTH 64
|
|
|
|
|
#define PANEL_HEIGHT 32 // Panel height of 64 will required PIN_E to be defined.
|
|
|
|
|
|
|
|
|
|