Skip to content

Commit

Permalink
Update feature_dip_switch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
XScorpion2 authored Jun 18, 2021
1 parent 7b51ddc commit 507a8dd
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions docs/feature_dip_switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,6 @@ void dip_switch_update_mask_user(uint32_t state) {
}
```

For DIP switch processing on the slave half of split keyboards, you can add `dip_switch_scan(false);`
to either your base keyboard .c file in `matrix_slave_scan_kb()` or to your user level
`matrix_slave_scan_user()` as needed:

```c
void matrix_slave_scan_kb() {
dip_switch_read(false);
matrix_slave_scan_user();
}
// or
void matrix_slave_scan_user() {
dip_switch_read(false);
}
```

## Hardware

### Connects each switch in the dip switch to the GPIO pin of the MCU
Expand Down

0 comments on commit 507a8dd

Please sign in to comment.