diff options
author | Ryan <fauxpark@gmail.com> | 2020-03-24 14:32:23 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 03:32:23 +0000 |
commit | 297aad6ebd8577e826ea738cde25207a61337dc0 (patch) | |
tree | fe9250a52c968dbf685758e507ef6a92546d89a2 /keyboards/handwired/onekey/stm32f0_disco/config.h | |
parent | 8f69983c58e7c8025d55ccdb31bcf570158f5433 (diff) | |
download | firmware-297aad6ebd8577e826ea738cde25207a61337dc0.tar.gz firmware-297aad6ebd8577e826ea738cde25207a61337dc0.tar.bz2 firmware-297aad6ebd8577e826ea738cde25207a61337dc0.zip |
Set backlight and RGB pins for AVR onekeys (#8533)
* Set backlight and RGB pins for AVR onekeys
* Set pin for ADC as well
* Define ADC_PIN for F4 blackpills
* Use A0 for F4 ADCs
* Set ADC pins for F0 and F1
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco/config.h')
-rw-r--r-- | keyboards/handwired/onekey/stm32f0_disco/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/stm32f0_disco/config.h b/keyboards/handwired/onekey/stm32f0_disco/config.h index 637ed65d3..0d6dd18fa 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/config.h +++ b/keyboards/handwired/onekey/stm32f0_disco/config.h @@ -28,3 +28,5 @@ #define BACKLIGHT_PAL_MODE 0 #define RGB_DI_PIN B15 + +#define ADC_PIN A0 |