Rainbow Light (Arc en ciel)

Le tutoriel Freenove ne donne pas d'explication comment on peut générer toutes les couleurs de l'arc-en-ciel. La page LEDs#ColorWheel contient un chapitre avec les explications nécessaires et on trouve sur https://github.com/uraich/mpy_ucad/blob/main/Alternate_Python_Codes/06.2_Rainbow_light/06.4_Rainbow_light.py le programme qui implémente l'algorithme correspondant.

Comments

 
Topic revision: r1 - 03 Jul 2021, UliRaich