esp32s3n8r8专题

#ESP32S3N8R8(按键点灯)

一、按键对应端口为GPIO0(上拉) 二、代码 #include <stdio.h>#include "driver/gpio.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "unistd.h"void app_main(void){int counter=0;//1.配置gpio输入(GPI