logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (2665B)


  1. /*
  2. Copyright 2017 Zach White <skullydazed@clueboard.co>
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. /* audio support */
  16. #define AUDIO_PIN_ALT B7
  17. #define AUDIO_PIN C4
  18. #define AUDIO_CLICKY
  19. // Configure our MAX7219's
  20. //#define MAX7219_LOAD B0
  21. //#define MAX7219_CONTROLLERS 4
  22. //#define MAX7219_LED_INTENSITY 1 // Max: 15
  23. // Define this to disable the startup test
  24. //#define MAX7219_NO_STARTUP_TEST
  25. /* This controls the speed of the sign, lower is faster. This is the minimal
  26. * time between animation frames, in ms. Actual time between frames will
  27. * always be slightly longer due to other keyboard tasks.
  28. */
  29. //#define MAX7219_SCROLL_TIME 100
  30. /* This setting controls how big the scrollable area for your message sign
  31. * is. If you set it to 0 your display will not work. If you set it to 1
  32. * you will have no buffer area, and you will only be able to display a
  33. * total of 6 characters. Every number after that increases the buffer area
  34. * by 32 columns.
  35. *
  36. * You can calculate how big to make this for the number of characters you
  37. * want to display:
  38. *
  39. * <number of characters in message> * 6 / 32 + 1
  40. *
  41. * You do not need to tune this unless you are trying to save ram.
  42. */
  43. //#define MAX7219_BUFFER_MULTIPLIER 24
  44. // You can only define one of these at a time:
  45. // Define this to test all LEDs. Keyboard functions will not work.
  46. //#define MAX7219_LED_TEST
  47. // Define this to iterate through LEDs 1 by 1. Keyboard functions will not work.
  48. //#define MAX7219_LED_ITERATE
  49. // Define this to show a simple animation. Keyboard functions will not work.
  50. //#define MAX7219_LED_DANCE
  51. // Define this to show all the characters available
  52. //#define MAX7219_LED_FONTTEST
  53. // Define this to show Clueboard on the sign
  54. //#define MAX7219_LED_CLUEBOARD
  55. // Define this to show the Konami code on the sign
  56. //#define MAX7219_LED_KONAMI
  57. // Define this to show QMK on the sign
  58. //#define MAX7219_LED_QMK_POWERED
  59. // Define this to treat the message board like an etch-a-sketch
  60. //#define DRAWING_TOY_MODE
  61. // Define this if you don't want any of the above
  62. //#define MAX7219_LED_CUSTOM