diff options
| author | Nes (Jordan) | 2025-11-02 01:06:47 +0100 |
|---|---|---|
| committer | GitHub | 2025-11-02 01:06:47 +0100 |
| commit | a5fb7cfbc9f8e2eee6dcd46f3d47ec58fd539336 (patch) | |
| tree | 63494dfdeb2166f829429e3923da25db35732229 /keyboards/sofle_pico/config.h | |
| parent | 62d87fa4464d601746343ca750de2ffa8cf4650e (diff) | |
Sofle pico (#25750)
Diffstat (limited to 'keyboards/sofle_pico/config.h')
| -rw-r--r-- | keyboards/sofle_pico/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/sofle_pico/config.h b/keyboards/sofle_pico/config.h new file mode 100644 index 0000000000..f4f34171fa --- /dev/null +++ b/keyboards/sofle_pico/config.h @@ -0,0 +1,23 @@ +// Copyright 2024 Ryan Neff (@JellyTitan) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* Use full duplex communication (TRRS) */ +#define SERIAL_USART_FULL_DUPLEX +#define SERIAL_USART_TX_PIN GP16 +#define SERIAL_USART_RX_PIN GP17 +/* Swap TX and RX pins if keyboard is master half. Only available on some MCU's. This _is_ available on the RP2040 */ +#define SERIAL_USART_PIN_SWAP + +/* I2C for OLEDs */ +#define I2C_DRIVER I2CD1 +#define I2C1_SDA_PIN GP6 +#define I2C1_SCL_PIN GP7 + +#define OLED_DISPLAY_128X64 +#define OLED_TIMEOUT 30000 + +#define ENCODER_MAP_KEY_DELAY 10 + +#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50 |