Re-add LED support

This reverts commit 5b069a0104.
This commit is contained in:
Josh Klar
2019-07-12 17:11:36 -07:00
committed by Kyle Brown
parent f6a39acd26
commit d34e8ce9d2
52 changed files with 1785 additions and 206 deletions

View File

@@ -2,13 +2,22 @@
Split keyboards are mostly the same as unsplit and very easy to adapt a keymap for. Currently
UART is supported, though other modes will come later such as Bluetooth and i2c.
## UART
To enable uart it's as simple as adding this line, of course changing the pin
```python
keyboard.split_type = "UART"
keyboard.uart_pin = board.SCL
```
## Config
Useful config options:
```python
keyboard.split_flip = True # If your boards are identical but one is flipped, this option is for you
keyboard.split_offsets = [6, 6, 6, 6] # This is the how many keys are on each column on the "Master" half
```
## EE HANDS
### EE HANDS
If you want to plug in on either side, it can be done fairly easily but requires setup.
On each half of your keyboard make a file called kmk_side.py and add one of these lines to the file
@@ -24,9 +33,3 @@ and then in your keymap, add the line
from kmk_side import split_side
```
# UART
To enable uart it's as simple as adding this line, of course changing the pin
```python
keyboard.split_type = "UART"
keyboard.uart_pin = board.SCL
```