#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 */