void IRAM_ATTR fonction_ISR() { ets_printf("Boutton pressé\n"); // Code de la fonction } void setup() { Serial.begin(115200); pinMode(33, INPUT_PULLUP); attachInterrupt(33, fonction_ISR, FALLING); } void loop() { }