#include "esp_private/esp_gpio_reserve.h"
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
for (uint8_t i = 0; i < SOC_GPIO_PIN_COUNT; i++) {
if (!esp_gpio_is_reserved(BIT64(i))) Serial.printf("gpio %d dispo\n",i);
}
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}