slide

Arduino LED brightness – Analog Basic

The Analog pins on the Arduino or DFR Romeo can be used to adjust the brightness of a LED. The analog pin takes anything between 0 and 255. 0 means off, 255 means the brightest. Make sure you resist the voltage using a suitable resitor to preserve the LED life. Connect the…