2018-06-09 00:28:28 +02:00
|
|
|
/*
|
2020-09-17 09:41:55 +02:00
|
|
|
Copyright 2019 @foostan
|
|
|
|
Copyright 2020 Drashna Jaelre <@drashna>
|
2018-06-09 00:28:28 +02:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-09-04 01:34:16 +02:00
|
|
|
#pragma once
|
2018-06-09 00:28:28 +02:00
|
|
|
|
2021-05-25 08:23:20 +02:00
|
|
|
#define USE_SERIAL
|
|
|
|
#define SOFT_SERIAL_PIN D2
|
|
|
|
|
2018-06-09 00:28:28 +02:00
|
|
|
/* ws2812 RGB LED */
|
|
|
|
#define RGB_DI_PIN D3
|
2018-10-22 19:26:19 +02:00
|
|
|
|
2019-04-16 19:29:48 +02:00
|
|
|
#ifdef RGBLIGHT_ENABLE
|
2020-09-17 09:41:55 +02:00
|
|
|
# define RGBLED_NUM 12 // Number of LEDs
|
|
|
|
# define RGBLIGHT_SPLIT
|
2019-04-16 19:29:48 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
2020-09-17 09:41:55 +02:00
|
|
|
# define RGBLED_NUM 54 // Number of LEDs
|
|
|
|
# define DRIVER_LED_TOTAL RGBLED_NUM
|
2021-05-25 08:23:20 +02:00
|
|
|
# define RGB_MATRIX_SPLIT { 27, 27 }
|
|
|
|
# define SPLIT_TRANSPORT_MIRROR
|
2019-04-16 19:29:48 +02:00
|
|
|
#endif
|
2021-05-25 08:23:20 +02:00
|
|
|
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|