Arduino-Example of an LED cycling through RGB-space. Written in Blech.
Make sure you have wired the RGB-LED on your breadboard ( As always: Compile the Blech-program by executing the Makefile:
$ git clone https://github.com/mschlund/RGB_LED.git
$ cd RGB_LED
$ make
and afterwards use your favorite Arduino-IDE to compile and flash the RGB_LED.ino-file
see also the corresponding blog-post https://maximilianschlund.wordpress.com/2020/10/31/lesson-2-cycling-through-rgb-space-with-a-fading-rgb-led/