This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdbool.h> | |
#include <esp_err.h> | |
#include <freertos/FreeRTOS.h> | |
#include <freertos/task.h> | |
#include <driver/spi_master.h> | |
#define CS_PIN GPIO_NUM_26 | |
#define CLK_PIN GPIO_NUM_25 | |
#define MOSI_PIN GPIO_NUM_22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdbool.h> | |
#include <esp_err.h> | |
#include <freertos/FreeRTOS.h> | |
#include <freertos/task.h> | |
#include <driver/spi_master.h> | |
#define CS_PIN GPIO_NUM_26 | |
#define CLK_PIN GPIO_NUM_25 | |
#define MOSI_PIN GPIO_NUM_22 |