config.h (2665B)
1 /* 2 Copyright 2017 Zach White <skullydazed@clueboard.co> 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 18 #pragma once 19 20 21 /* audio support */ 22 #define AUDIO_PIN_ALT B7 23 #define AUDIO_PIN C4 24 #define AUDIO_CLICKY 25 26 // Configure our MAX7219's 27 //#define MAX7219_LOAD B0 28 //#define MAX7219_CONTROLLERS 4 29 //#define MAX7219_LED_INTENSITY 1 // Max: 15 30 31 // Define this to disable the startup test 32 //#define MAX7219_NO_STARTUP_TEST 33 34 /* This controls the speed of the sign, lower is faster. This is the minimal 35 * time between animation frames, in ms. Actual time between frames will 36 * always be slightly longer due to other keyboard tasks. 37 */ 38 //#define MAX7219_SCROLL_TIME 100 39 40 /* This setting controls how big the scrollable area for your message sign 41 * is. If you set it to 0 your display will not work. If you set it to 1 42 * you will have no buffer area, and you will only be able to display a 43 * total of 6 characters. Every number after that increases the buffer area 44 * by 32 columns. 45 * 46 * You can calculate how big to make this for the number of characters you 47 * want to display: 48 * 49 * <number of characters in message> * 6 / 32 + 1 50 * 51 * You do not need to tune this unless you are trying to save ram. 52 */ 53 //#define MAX7219_BUFFER_MULTIPLIER 24 54 55 // You can only define one of these at a time: 56 57 // Define this to test all LEDs. Keyboard functions will not work. 58 //#define MAX7219_LED_TEST 59 60 // Define this to iterate through LEDs 1 by 1. Keyboard functions will not work. 61 //#define MAX7219_LED_ITERATE 62 63 // Define this to show a simple animation. Keyboard functions will not work. 64 //#define MAX7219_LED_DANCE 65 66 // Define this to show all the characters available 67 //#define MAX7219_LED_FONTTEST 68 69 // Define this to show Clueboard on the sign 70 //#define MAX7219_LED_CLUEBOARD 71 72 // Define this to show the Konami code on the sign 73 //#define MAX7219_LED_KONAMI 74 75 // Define this to show QMK on the sign 76 //#define MAX7219_LED_QMK_POWERED 77 78 // Define this to treat the message board like an etch-a-sketch 79 //#define DRAWING_TOY_MODE 80 81 // Define this if you don't want any of the above 82 //#define MAX7219_LED_CUSTOM