diff options
Diffstat (limited to 'keyboards/lets_split_eh/eh/config.h')
| -rw-r--r-- | keyboards/lets_split_eh/eh/config.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/keyboards/lets_split_eh/eh/config.h b/keyboards/lets_split_eh/eh/config.h index 59afb39c0..43e026650 100644 --- a/keyboards/lets_split_eh/eh/config.h +++ b/keyboards/lets_split_eh/eh/config.h | |||
| @@ -16,13 +16,7 @@ You should have received a copy of the GNU General Public License | |||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #ifndef EH_CONFIG_H | 19 | #pragma once |
| 20 | #define EH_CONFIG_H | ||
| 21 | |||
| 22 | // To let configuration know this is of type EH, which will force I2C irregardless of user config | ||
| 23 | #define EH | ||
| 24 | // The 'EH' only uses I2C | ||
| 25 | #define USE_I2C | ||
| 26 | 20 | ||
| 27 | #include "config_common.h" | 21 | #include "config_common.h" |
| 28 | 22 | ||
| @@ -40,10 +34,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | 34 | ||
| 41 | /* ws2812 RGB LED */ | 35 | /* ws2812 RGB LED */ |
| 42 | #define RGB_DI_PIN B2 | 36 | #define RGB_DI_PIN B2 |
| 43 | #define RGBLED_NUM 6 // Number of LEDs (each hand) | 37 | #define RGBLED_NUM 12 // Number of LEDs (each hand) |
| 38 | #define RGBLED_SPLIT { 6, 6 } | ||
| 39 | #define RGBLIGHT_ANIMATIONS | ||
| 44 | 40 | ||
| 45 | /* Split Defines */ | 41 | /* Split Defines */ |
| 46 | #define SPLIT_HAND_PIN D3 | 42 | #define SPLIT_HAND_PIN D3 |
| 43 | #define SOFT_SERIAL_PIN D0 | ||
| 47 | 44 | ||
| 48 | #endif | 45 | // The 'EH' has previously forced use of I2C so this default has been kept |
| 49 | 46 | // however users can undef to use serial | |
| 47 | #define USE_I2C | ||
