idf的spi还有问题
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef LCD_H
|
||||
#define LCD_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include "esp_log.h"
|
||||
#include "spi.h"
|
||||
|
||||
#define USE_HORIZONTAL 0 //设置横屏或者竖屏显示 0或1为竖屏 2或3为横屏
|
||||
#define LCD_WW 240
|
||||
#define LCD_HH 320
|
||||
|
||||
void LCD_Address_Set(uint16_t x1,uint16_t y1,uint16_t x2,uint16_t y2);
|
||||
void lcd_init();
|
||||
|
||||
void LCD_Clear(uint16_t Color);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user