Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 514 Bytes
#pragma once
#define LCD_SDI_PORT GPIOE
#define LCD_SDO_PORT GPIOE
#define LCD_SCK_PORT GPIOE
#define LCD_RST_PORT GPIOE
#define LCD_CS_PORT GPIOH
#define LCD_DC_PORT GPIOH
#define LCD_SDI_PIN GPIO_PIN_15
#define LCD_SDO_PIN GPIO_PIN_14
#define LCD_SCK_PIN GPIO_PIN_13
#define LCD_RST_PIN GPIO_PIN_12
#define LCD_CS_PIN GPIO_PIN_0
#define LCD_DC_PIN GPIO_PIN_1
#define LED_SPI SPI1
#define LCD_SPI_AF GPIO_AF5_SPI1
#ifdef __cplusplus
extern "C" {
#endif
void lcd_start(void);
#ifdef __cplusplus
}
#endif