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 "driver/gpio.h" | |
#include "driver/timer.h" | |
#include <esp_intr_alloc.h> | |
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "sdkconfig.h" | |
#define SYNCPIN0 32 // interruption 0 work pin | |
#define SYNCPIN1 33 // interruption 1 work pin |