/* Touch Pad Read Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/touch_pad.h" /* Read values sensed at all available touch pads. Print out values in a loop on a serial monitor. */ static void tp_example_read_task(void *pvParameter) { while (1) { uint16_t touch_value; for (int i=0; i