This is an easy tutorial showing how you can control the brightness of an LED or adjust the speed of a DC fan using Arduino Board, a small BC547 transistor and a potentiometer. In my example the whole ...
The X9C10X object keeps track of the position of the potentiometer, but the user should set it with setPosition(position, true); Otherwise the library and device will probably not be in sync. Since ...
// the LED has to be connected to PWM digital pin // since LED connected to PWD pin accepts value between 0-255 and potentiometer provides value between 0-1023 we have to divide the value coming from ...
Before I start talking about this really cool thing called Arduino (Italian for "good friend"), let me say a few things about the fascinating subject of physical computing. Physical computing has been ...