Skip to content

Instantly share code, notes, and snippets.

@mtei
Last active March 16, 2024 22:58
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save mtei/b1515eba3d20086da262c83948f8e9a9 to your computer and use it in GitHub Desktop.
Save mtei/b1515eba3d20086da262c83948f8e9a9 to your computer and use it in GitHub Desktop.
split keyboard figs

i2c connection

#define USE_I2C

sk-i2c-connection-red

sk-i2c-connection-blue

sk-i2c-connection-gray

sk-i2c-connection-mono

soft serial connection

#define SOFT_SERIAL_PIN D0

sk-pd0-connection-red

sk-pd0-connection-blue

sk-pd0-connection-gray

sk-pd0-connection-mono

#define SOFT_SERIAL_PIN D2

sk-pd2-connection-red

sk-pd2-connection-blue

sk-pd2-connection-gray

sk-pd2-connection-mono

RGB LED connection (single LED chain)

#define SOFT_SERIAL_PIN D2

#define RGB_DI_PIN        B5
#define RGBLED_NUM_LEFT   4
#define RGBLED_NUM_RIGHT  4
#define RGBLED_NUM        (RGBLED_NUM_LEFT+RGBLED_NUM_RIGHT)

sk-led-u-red

sk-led-u-blue

sk-led-u-gray

RGB LED connection (double LED chain with I2C)

#define USE_I2C

#define RGB_DI_PIN  B5
#define RGBLED_NUM  4

or

#define USE_I2C

#define RGB_DI_PIN       B5
#define RGBLED_NUM_LEFT  4
#define RGBLED_NUM_RIGHT 4
#define RGBLED_NUM       (RGBLED_NUM_LEFT+RGBLED_NUM_RIGHT)
#define RGBLED_SPLIT     { RGBLED_NUM_LEFT, RGBLED_NUM_RIGHT }

sk-led-s-i2c-red

sk-led-s-i2c-blue

sk-led-s-i2c-gray

RGB LED connection (double LED chain with serial)

#define SOFT_SERIAL_PIN D2

#define RGB_DI_PIN  B5
#define RGBLED_NUM  4
#define RGBLIGHT_SPLIT

or

#define SOFT_SERIAL_PIN D2

#define RGB_DI_PIN        B5
#define RGBLED_NUM_LEFT   4
#define RGBLED_NUM_RIGHT  4
#define RGBLED_NUM        (RGBLED_NUM_LEFT+RGBLED_NUM_RIGHT)
#define RGBLED_SPLIT      { RGBLED_NUM_LEFT, RGBLED_NUM_RIGHT }

sk-led-s-pd2-red

sk-led-s-pd2-blue

sk-led-s-pd2-gray

RGBLIGHT_SPLIT V.S. RGBLED_SPLIT

#define RGBLIGHT_SPLIT
//or
// #define USE_I2C

sk-led-snake2-gray

#define RGBLED_SPLIT { RGBLED_NUM_LEFT, RGBLED_NUM_RIGHT }

sk-led-snake1-gray

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment