Fonction P
(Programme d’exposition automatique)