20 lines
568 B
C
20 lines
568 B
C
#pragma once
|
|
|
|
// Port A
|
|
#define PIN_LED_R_0 0
|
|
#define PIN_LED_G_0 1
|
|
#define PIN_LED_B_0 2
|
|
#define PIN_LED_R_1 3
|
|
#define PIN_LED_G_1 4
|
|
#define PIN_LED_B_1 5
|
|
#define PIN_LED_R_2 6
|
|
#define PIN_LED_G_2 7
|
|
#define PIN_LED_B_2 9
|
|
#define PIN_LED_R_3 10
|
|
#define PIN_LED_G_3 13
|
|
#define PIN_LED_B_3 14
|
|
|
|
// Port F
|
|
#define PIN_ROW_DATA 0 // Shift register data in
|
|
#define PIN_ROW_SCK 1 // Shift register clock
|