This commit is contained in:
2026-02-24 18:20:07 +08:00
parent f5d8c90b12
commit f3cb27e168
551 changed files with 315143 additions and 6 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef SPI_H
#define SPI_H
#include <stdio.h>
#include <inttypes.h>
#include "driver/gpio.h"
#include "driver/spi_master.h"
#include "esp_log.h"
#include "esp_system.h"
#define VSPI_MISO -1 //接收引脚不使用,仅发送
#define VSPI_MOSI 3
#define VSPI_SCLK 2
void spi_init();
extern spi_device_handle_t lcd_spi;
#endif /* SPI_H */