Arduino Programming – HSB to RGB
Control a RGB led with Hue, Saturation and Brightness (HSB / HSV ).
Creative Developer
Arduino and Physical Computing tutorials and information.
Control a RGB led with Hue, Saturation and Brightness (HSB / HSV ).
Learn how to use the Arduino map() function to change a variable number from one range to another. Also check the other example on how to smooth Analog Input values by taking multiple samples and average those.
How to write a program that fires actions with different intervals without using the delay() function. Configuration of the serial port and printing values is also explained.
How to program a state change functionality. ‘State change detection’ is a method to see when a button is pressed or released. You can use it to fire a different action each press of a button.
In this tutorial the basic code structure ( setup, loop ) of Arduino script is also explained.
In this video tutorial I explain how to setup communication between the Arduino microcontroller board and Flash ( Actionscript 2). Example files are included.