Toms Online Notebook Sharing my stuff.

Entries tagged [example]

Raspberry Pi2 Pi4J Java - RGB LED Example

by tgutwin


Posted on Tuesday Jan 26, 2016 at 08:41PM in Technology


Pi4J IconI have started to get some useful sample/examples completed on my Raspberry Pi2. Here is the Schematic and Java code to control an RGB LED.

I also have examples for:

  • controlling multiple GPIO pins with external transistor driven LEDs and Java Pi4J code that times their cycling.
  • Pulse Width Modulation (PWM) control of GPIO pins and an RGP LED.

 These will be discussed in other posts.

Read More