config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #include "config_common.h"
  19. #define MATRIX_ROWS 10
  20. #define MATRIX_COLS 6
  21. #define DIODE_DIRECTION ROW2COL
  22. #define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 }
  23. #define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
  24. #define RGB_DI_PIN D2
  25. #define RGBLED_NUM 38
  26. #define RGBLED_SPLIT { 19, 19 }
  27. #define RGBLIGHT_SPLIT
  28. #define RGBLIGHT_EFFECT_BREATHING
  29. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  30. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  31. #define RGBLIGHT_EFFECT_SNAKE
  32. #define RGBLIGHT_EFFECT_KNIGHT
  33. #define RGBLIGHT_EFFECT_CHRISTMAS
  34. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  35. #define RGBLIGHT_EFFECT_RGB_TEST
  36. #define RGBLIGHT_EFFECT_ALTERNATING
  37. #define RGBLIGHT_EFFECT_TWINKLE
  38. #define DEBOUNCE 5
  39. #define SOFT_SERIAL_PIN D0
  40. #define MASTER_RIGHT