
Fun with Arduino 15 LED dimmer with Pulse Width Modulation, analogWrite()
We have used analogRead() to measure the voltage on an analog input pin. Arduino also has the opposite function available: analogWrite(). This name is misleading though. The analog inputs are ‘real’ … the applied voltage is measured by a 10 bit A/D converter. But the Arduino does not have a D/A converter on board. An […]