mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-28 22:20:13 +00:00
90b87abb11
Co-authored-by: Joel Challis <git@zvecr.com>
33 lines
698 B
C
33 lines
698 B
C
// Copyright 2024 Dasky (@daskygit)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define POINTING_DEVICE_CS_PIN A4
|
|
#define POINTING_DEVICE_MOTION_PIN B0
|
|
#define POINTING_DEVICE_TASK_THROTTLE_MS 1
|
|
|
|
#define SPI_DRIVER SPID1
|
|
#define SPI_SCK_PIN A5
|
|
#define SPI_MOSI_PIN A7
|
|
#define SPI_MISO_PIN A6
|
|
|
|
#define I2C1_SCL_PIN B8
|
|
#define I2C1_SDA_PIN B9
|
|
|
|
#define OLED_RESET B7
|
|
#define OLED_PWR B2
|
|
|
|
#define RGB_PWM_DRIVER PWMD1
|
|
#define RGB_BLUE_PIN A10
|
|
#define RGB_BLUE_PWM_CHANNEL 3
|
|
#define RGB_GREEN_PIN A8
|
|
#define RGB_GREEN_PWM_CHANNEL 1
|
|
#define RGB_RED_PIN A9
|
|
#define RGB_RED_PWM_CHANNEL 2
|
|
|
|
#define OPTICAL_SW_PWR A2
|
|
|
|
#define I2C1_CLOCK_SPEED 400000
|
|
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
|