diff options
author | Andrew Kannan <andrew.kannan@klaviyo.com> | 2019-01-28 19:40:02 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-01-28 16:40:02 -0800 |
commit | 0f507f01696eae0e8fe808d17a19db3f6d9e2ce4 (patch) | |
tree | 986c78fbb09b6bf5e33df6c28158e6877af64960 /keyboards/handwired/practice60/config.h | |
parent | d9120412d3d81fc688a7e5346711cf716518dc34 (diff) | |
download | qmk_firmware-0f507f01696eae0e8fe808d17a19db3f6d9e2ce4.tar.gz qmk_firmware-0f507f01696eae0e8fe808d17a19db3f6d9e2ce4.zip |
Practice60 RGB and PWM Backlight (#4929)
* Update Practice60 to enable RGB via SPI DMA and use PWM backlight breathing
* Correct stm32f103c8t6 flash size in eeprom definition
* Remove unused files and improve ifdef checks
* Update quantum/rgblight.c
Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>
* Update quantum/rgblight.c
Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>
* EEPROM implementation fix and updated p60 code
* Update define
* Remove dead code
* Update keymap to remove test key
* Update keymap again
Diffstat (limited to 'keyboards/handwired/practice60/config.h')
-rw-r--r-- | keyboards/handwired/practice60/config.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/keyboards/handwired/practice60/config.h b/keyboards/handwired/practice60/config.h index 648dd62edc..c015bb7465 100644 --- a/keyboards/handwired/practice60/config.h +++ b/keyboards/handwired/practice60/config.h @@ -35,7 +35,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 1 +#define BACKLIGHT_LEVELS 6 +#define BACKLIGHT_BREATHING +#define BREATHING_PERIOD 6 /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST @@ -48,6 +50,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE +#define RGBLIGHT_ANIMATIONS + +#define WS2812_LED_N 9 +#define RGBLED_NUM WS2812_LED_N +#define PORT_WS2812 GPIOB +#define PIN_WS2812 15 +#define WS2812_SPI SPID2 + + /* * Feature disable options * These options are also useful to firmware size reduction. |