From e56dbc8d45a73c7b182ef8efc84bf67c8a9d6681 Mon Sep 17 00:00:00 2001 From: sebastienPoussard Date: Mon, 6 Mar 2023 17:49:30 +0100 Subject: [PATCH] screen working --- config/corne.conf | 3 ++- config/corne.keymap | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/corne.conf b/config/corne.conf index 974243c..33bf8a6 100644 --- a/config/corne.conf +++ b/config/corne.conf @@ -3,4 +3,5 @@ # CONFIG_WS2812_STRIP=y # Uncomment the following line to enable the Corne OLED Display -# CONFIG_ZMK_DISPLAY=y +CONFIG_ZMK_DISPLAY=y +CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y diff --git a/config/corne.keymap b/config/corne.keymap index 4ed20c7..2e6d1ed 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -54,3 +54,8 @@ }; }; }; + +// redefine cs-gpios because ultralignt corne from pete do not use the nice!view recommandation pin +&nice_view_spi { + cs-gpios = <&pro_micro 0 GPIO_ACTIVE_HIGH>; +};