2018-06-08 22:28:28 +00:00
|
|
|
/*
|
2020-09-17 07:41:55 +00:00
|
|
|
Copyright 2019 @foostan
|
|
|
|
Copyright 2020 Drashna Jaelre <@drashna>
|
2018-06-08 22:28:28 +00: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-03 23:34:16 +00:00
|
|
|
#pragma once
|
2018-06-08 22:28:28 +00:00
|
|
|
|
2021-05-25 06:23:20 +00:00
|
|
|
#define USE_SERIAL
|
|
|
|
#define SOFT_SERIAL_PIN D2
|
|
|
|
|
2018-06-08 22:28:28 +00:00
|
|
|
/* ws2812 RGB LED */
|
|
|
|
#define RGB_DI_PIN D3
|
2018-10-22 17:26:19 +00:00
|
|
|
|
2019-04-16 17:29:48 +00:00
|
|
|
#ifdef RGBLIGHT_ENABLE
|
2020-09-17 07:41:55 +00:00
|
|
|
# define RGBLED_NUM 12 // Number of LEDs
|
|
|
|
# define RGBLIGHT_SPLIT
|
2019-04-16 17:29:48 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
2020-09-17 07:41:55 +00:00
|
|
|
# define RGBLED_NUM 54 // Number of LEDs
|
|
|
|
# define DRIVER_LED_TOTAL RGBLED_NUM
|
2021-05-25 06:23:20 +00:00
|
|
|
# define RGB_MATRIX_SPLIT { 27, 27 }
|
|
|
|
# define SPLIT_TRANSPORT_MIRROR
|
2019-04-16 17:29:48 +00:00
|
|
|
#endif
|
2021-05-25 06:23:20 +00:00
|
|
|
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|