From 59f5f57d524173ece07c50400f54bbb20edffc08 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 9 Dec 2023 17:27:00 +0000 Subject: Initial commit --- config.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..5307073 --- /dev/null +++ b/config.h @@ -0,0 +1,30 @@ +// Copyright 2023 Justine Smithies (@JustineSmithies) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define I2C1_SCL_PIN GP1 +#define I2C1_SDA_PIN GP0 +#define I2C_DRIVER I2CD0 + +#define OLED_DISPLAY_128X64 +#define OLED_IC OLED_IC_SSD1306 +#define OLED_DISPLAY_ADDRESS 0x3C +#define OLED_BRIGHTNESS 255 +#define OLED_TIMEOUT 0 // 60000ms is default + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT -- cgit v1.2.3