summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/nucleo_f446re/config.h
blob: c6c04ed6154493040ef91a27c93640d217e769ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2021 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once


#define BACKLIGHT_PWM_DRIVER  PWMD4
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE    2

#define ADC_PIN A0

#define SOLENOID_PINS { B12, B13, B14, B15 }
#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }