Skip to content

Commit

Permalink
Deprecate Keyboard#mutual_uart_at_my_own_risk
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Dec 26, 2022
1 parent ed8f948 commit f616b81
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions Mutual-UART-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

0.9.6+

### Deprecation

In 0.9.20, hardware one-way UART on split-type is deprecated. Instead, software mutual UART is now the default and the only option
Keyboard#mutual_uart_at_my_own_risk= no longer takes any effect


## Feature
- Syncs RGB blinking between both halves
- Keycodes related to RGB (see [RGB-feature](https://github.com/picoruby/prk_firmware/wiki/RGB-feature)) work on not only anchor but also partner half
Expand All @@ -11,17 +17,24 @@
```ruby
kbd = Keyboard.new
kbd.split = true

# In 0.9.20+, you dont' need write this line
kbd.mutual_uart_at_my_own_risk = true
```

## Caution❗
- Turning on `Keyboard#mutual_uart_at_my_own_risk` is an **experimental** feature
- It may make the keyboard unstable and may **break your chip**🔥
- ~~Turning on `Keyboard#mutual_uart_at_my_own_risk` is an **experimental** feature~~
- It may make the keyboard unstable and may **break your chip**🔥 depending on your usage. See below
- Make sure to disconnect the TRS(TRRS) cable when you change this option. Reconnect it after changing BOTH halves
1. Disconnect the USB cable and the TR(R)S cable
2. Connect the USB cable to a half, flash prk_firmware-*.uf2 and your `keymap.rb` that configures `mutual_uart_at_my_own_risk = true`
2. Connect the USB cable to a half, flash prk_firmware-*.uf2 and your `keymap.rb` ~~that configures `mutual_uart_at_my_own_risk = true`~~
3. Disconnect the USB cable
4. Connect the USB cable to the other half, flash prk_firmware-*.uf2 and your `keymap.rb` that configures `mutual_uart_at_my_own_risk = true`
4. Connect the USB cable to the other half, flash prk_firmware-*.uf2 and your `keymap.rb` ~~that configures `mutual_uart_at_my_own_risk = true`~~
5. Disconnect the USB cable
6. Connect the TR(R)S cable
7. Eventually, connect the USB cable to the anchor half

### We know you feel messy

We have the plan to implement a new feature in order to make things simple: [issue/155](https://github.com/picoruby/prk_firmware/issues/155)

0 comments on commit f616b81

Please sign in to comment.