mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-13 05:38:51 +06:00
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/* Copyright 2021 Jonathan Rascher
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* Quefrency lacks I2C resistors on the right PCB, so the right half doesn't
|
|
* work independently. (Presumably the floating I2C lines cause a problem.)
|
|
* Using serial seems sufficiently fast in practice and allows both halves to be
|
|
* used independently.
|
|
*/
|
|
#define USE_SERIAL
|
|
|
|
/* Use an extra LED on the right side since it's wider on the 65% PCB. */
|
|
#undef RGBLED_NUM
|
|
#define RGBLED_NUM 17
|
|
|
|
/* Set up RGB lighting so it works with either side as master. */
|
|
#undef RGBLED_SPLIT
|
|
#define RGBLED_SPLIT \
|
|
{ 8, 9 }
|