This example demonstrates how to send multiple values from the Arduino board to the computer. The readings from three potentiometers are used to set the red, green, and blue components of the background color of a Processing sketch.
Switch-case example, showing how to take different actions based on the characters received in the serial port
An if statement allows you to choose between two discrete options, TRUE or FALSE. When there are more than two options, you can use multiple if statements, or you can use the switch statement. Switch allows you to choose between several discrete options.
Sometimes you want everything in the program to stop while a given condition is true. You can do this using a [while loop](http://www.arduino.cc/en/Reference/While).
Earlier this year while attending a FabNow Conferance in Ft. Worth I came across a few exibits with Neo Pixel Rings. I was fascinated with the color levels and the fact they could be controlled with a single wire!
The following videos are displaying patterns generated by a Processing program doing real-time FFT (Fast Fourier transform). Basically it is visualizing music in the frequency domain using a polar-coordinate particle system.
NeoPixels are fun and amazing. In my project I connected 4 of the AdaFruit NeoPixel – 16 RGBW Leds together. What caught my attention and curiosity was that you can control each of these RGBW Leds using just one wire.This feat is accomplished with a very timing-specific protocol. Since the protocol