//Температура: //cpp #include "driver/temp_sensor.h" void setup() { Serial.begin(115200); temp_sensor_config_t cfg = TSENS_CONFIG_DEFAULT(); temp_sensor_set_config(cfg); temp_sensor_start(); } void loop() { float temp; temp_sensor_read_celsius(&temp); Serial.printf("Температура чипа: %.2f °C\n", temp); delay(1000); }