19 lines
349 B
C
19 lines
349 B
C
|
// Copyright 2023 Andrian (@PoringH)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define I2C1_SCL_PIN B8
|
||
|
#define I2C1_SDA_PIN B9
|
||
|
|
||
|
#define I2C1_SCL_PAL_MODE 1
|
||
|
#define I2C1_SDA_PAL_MODE 1
|
||
|
|
||
|
#define OLED_DISPLAY_128X64
|
||
|
|
||
|
#define OLED_IC OLED_IC_SH1106
|
||
|
#define OLED_COLUMN_OFFSET 2
|
||
|
|
||
|
#define OLED_TIMEOUT 120000
|
||
|
#define OLED_BRIGHTNESS 120
|