Add RGB lighting through one of the free pins (#8294)
This commit is contained in:
@@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_ROW_PINS { A9, B12, B11, B10, B2, B1 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
//LEDS A6, RGB B15
|
||||
//LEDS A6
|
||||
#define BACKLIGHT_PIN A6
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
@@ -42,6 +42,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
// RGB B4
|
||||
#define RGB_DI_PIN B4
|
||||
#define RGBLED_NUM 24
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
|
||||
Reference in New Issue
Block a user