Source: https://parc-nsi.github.io/premiere-nsi/chapitre3/quickpi/TP-Quick_Pi-Objets_connectes-Parcours_1-Correction.pdf