import wiringpi def afficher(): print "front descendant sur broche 11 ! " wiringpi.wiringPiSetupPhys() wiringpi.pinMode(11,0) wiringpi.wiringPiISR(11,1,afficher) while True : wiringpi.delay(1000) print "attente ..."