summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/keymaps/lvgl/config.h
blob: 38bb5d0cf35310c9b1e6b5212b0ff6e6b403675b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2022 Jose Pablo Ramirez (@jpe230)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/* SPI pins */
#define SPI_DRIVER SPID0
#define SPI_SCK_PIN GP18
#define SPI_MOSI_PIN GP19
#define SPI_MISO_PIN GP20

/* LCD Configuration */
#define LCD_RST_PIN GP0
#define LCD_DC_PIN GP1
#define LCD_CS_PIN GP2