You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
295 B
16 lines
295 B
9 years ago
|
/* Config for SIPO PWM */
|
||
|
|
||
|
// PWM pin aliases
|
||
|
#define SPWM_STR D2
|
||
|
#define SPWM_CLK D3
|
||
|
#define SPWM_DATA D4
|
||
|
|
||
|
// Number of PWM levels (color depth)
|
||
|
#define SPWM_COLOR_DEPTH 256
|
||
|
|
||
|
// Number of SIPO channels
|
||
|
#define SPWM_CHANNELS 24
|
||
|
|
||
|
// Invert outputs (for Common Anode LEDs)
|
||
|
#define SPWM_INVERT 1
|