Test
This commit is contained in:
commit
384d247182
@ -5,15 +5,15 @@
|
||||
// #include "freertos/task.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
|
||||
// static bool example_rmt_rx_done_callback(rmt_channel_handle_t channel, const rmt_rx_done_event_data_t *edata, void *user_data)
|
||||
// {
|
||||
static bool example_rmt_rx_done_callback(rmt_channel_handle_t channel, const rmt_rx_done_event_data_t *edata, void *user_data)
|
||||
{
|
||||
// // BaseType_t high_task_wakeup = pdFALSE;
|
||||
// // QueueHandle_t receive_queue = (QueueHandle_t)user_data;
|
||||
// // // send the received RMT symbols to the parser task
|
||||
// // xQueueSendFromISR(receive_queue, edata, &high_task_wakeup);
|
||||
// // // return whether any task is woken up
|
||||
// // return high_task_wakeup == pdTRUE;
|
||||
// }
|
||||
}
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
@ -27,7 +27,7 @@ void app_main(void)
|
||||
gpio_set_direction(5, GPIO_MODE_OUTPUT);
|
||||
gpio_set_level(5, 0);
|
||||
vTaskDelay(10 / portTICK_PERIOD_MS);
|
||||
// gpio_set_level(5, 1);
|
||||
gpio_set_level(5, 1);
|
||||
gpio_set_direction(5, GPIO_MODE_INPUT);
|
||||
|
||||
rmt_channel_handle_t rx_channel = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user