summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
diff options
context:
space:
mode:
authorjpe230 <pablin.123.ra@gmail.com>2022-10-07 14:30:19 -0500
committerGitHub <noreply@github.com>2022-10-07 20:30:19 +0100
commit5d7e19209eac263f24d90e079749f646a86e50cc (patch)
treedb9f4ce73f9a99fdbd743ee6449d108d46327e04 /keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
parentde2c81d5b29fc3b3b86f977b72ab3357a1d13a63 (diff)
Update CRKBD keymap (#18619)
Diffstat (limited to 'keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c')
-rw-r--r--keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c b/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
new file mode 100644
index 0000000000..159413d083
--- /dev/null
+++ b/keyboards/crkbd/keymaps/jpe230/oled/avr/slave/oled_slave_handler.c
@@ -0,0 +1,14 @@
+// Copyright 2022 Jose Pablo Ramirez (@jpe230)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "jpe230.h"
+
+void render_slave_oled() {
+ static const char PROGMEM crkbd_logo[] = {
+ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
+ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4,
+ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4,
+ 0};
+ oled_write_P(crkbd_logo, false);
+}
+