diff options
author | omkbd <takuya.electronics@gmail.com> | 2019-05-06 08:19:07 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-05-05 16:19:07 -0700 |
commit | eb9ea8492736c14a7c57fd9bac7304e8dd6b7d80 (patch) | |
tree | 41acba2372ff64a9af66d3120640efce0651a4d2 /keyboards/ergodash/mini/config.h | |
parent | 63d53b0f2860dd89c87ff477bd5064d17ec96635 (diff) |
[Keybooard] Update of Ergodash Keyboard (#5772)
* Simpler coding
use SPLIT_KEYBOARD
delete rev1 (rev2→rev1) because rev1is not sold
* delete USE_I2C = no
* Update readme.md
Diffstat (limited to 'keyboards/ergodash/mini/config.h')
-rw-r--r-- | keyboards/ergodash/mini/config.h | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/keyboards/ergodash/mini/config.h b/keyboards/ergodash/mini/config.h index fc63cc1e9d..cac1bba6f7 100644 --- a/keyboards/ergodash/mini/config.h +++ b/keyboards/ergodash/mini/config.h @@ -45,10 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define MATRIX_HAS_GHOST #define C6_AUDIO -#ifdef AUDIO_ENABLE - #define STARTUP_SONG SONG(STARTUP_SOUND) - #define GOODBYE_SONG SONG(GOODBYE_SOUND) -#endif /* number of backlight levels */ #ifdef BACKLIGHT_ENABLE @@ -68,23 +64,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* ws2812 RGB LED */ #define RGB_DI_PIN D3 - -#define RGBLED_NUM 20 // Number of LEDs - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -// #define NO_DEBUG - -/* disable print */ -// #define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT -//#define NO_ACTION_MACRO -//#define NO_ACTION_FUNCTION +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 20 +#define RGBLIGHT_SPLIT +#define RGBLED_SPLIT { 10, 10 } // Number of LEDs + +#define SOFT_SERIAL_PIN D0 +#define SELECT_SOFT_SERIAL_SPEED 1 +/*Sets the protocol speed when using serial communication*/ +//Speeds: +//0: about 189kbps (Experimental only) +//1: about 137kbps (default) +//2: about 75kbps +//3: about 39kbps +//4: about 26kbps +//5: about 20kbps |