summaryrefslogtreecommitdiff
path: root/keyboards/lets_split_eh/eh/config.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-08-15 22:01:34 +0100
committerGitHub <noreply@github.com>2019-08-15 22:01:34 +0100
commitfadb69e2031a259248dd575384da8846ba0c2aa3 (patch)
treed7e7d80b62db0044af127c69b8b90ea6d489b0cc /keyboards/lets_split_eh/eh/config.h
parentee8d9bd40ad4f5b8d23be951d652143582d42938 (diff)
downloadqmk_firmware-fadb69e2031a259248dd575384da8846ba0c2aa3.tar.gz
qmk_firmware-fadb69e2031a259248dd575384da8846ba0c2aa3.zip
Refactor of lets_split_eh to enable RGB split animations (#6411)
Diffstat (limited to 'keyboards/lets_split_eh/eh/config.h')
-rw-r--r--keyboards/lets_split_eh/eh/config.h18
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 59afb39c0f..43e0266502 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef EH_CONFIG_H
-#define EH_CONFIG_H
-
-// To let configuration know this is of type EH, which will force I2C irregardless of user config
-#define EH
-// The 'EH' only uses I2C
-#define USE_I2C
+#pragma once
#include "config_common.h"
@@ -40,10 +34,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGB_DI_PIN B2
-#define RGBLED_NUM 6 // Number of LEDs (each hand)
+#define RGBLED_NUM 12 // Number of LEDs (each hand)
+#define RGBLED_SPLIT { 6, 6 }
+#define RGBLIGHT_ANIMATIONS
/* Split Defines */
#define SPLIT_HAND_PIN D3
+#define SOFT_SERIAL_PIN D0
-#endif
-
+// The 'EH' has previously forced use of I2C so this default has been kept
+// however users can undef to use serial
+#define USE_I2C