RGB LED

Raspberry PI RGB example in C

In this example we will flash an RGB LED using C Schematics Here is a schematic and layout Code This example requires wiringPi to be installed – http://wiringpi.com/download-and-install/ [codesyntax lang=”c”] #include <wiringPi.h> #include <stdio.h> #define REDLED 0 #define GREENLED 1 #define BLUELED 2 void init(void) {…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More