ESP32C3 CORE+TOUCH BTN+PIO
记录一下自己的学习过程,仅供自己学习参考
一、TOUCH BTN
我买的是这个:https://item.taobao.com/item.htm?spm=a1z09.2.0.0.5beb2e8dzVYppT&id=623271493679&_u=q1lh8dc31f9a
觉得很好玩就买了,没有考虑什么成本
二、主程序
需要实现的功能:通过触摸按键控制LED。
主程序mian.cpp
#include <Arduino.h>
const int buttonPin = 2