Tip | ||
---|---|---|
| ||
|
Pre-requisite:
- Finished Add an external LED and, another button
- Basic circuit knowledge
Objectives:
- Dim the LED
Descriptions:
- You already know how to connect an LED to the Arduino board.
- This time, you need to connect the LED the same way but into different output number that supports PWM( what is this ) output
In other word, with "~" by the side of the number of PIN. Let's connect the LED to pin 9 as refer to : http://arduino.cc/en/Tutorial/Fade
iFrame src http://arduino.cc/en/Tutorial/Fade width 960 id fadearduion height 600
PWM is "Pulse-width modulation", please refer to : http://arduino.cc/en/Tutorial/PWMAnchor pwmdescription pwmdescription iFrame src http://arduino.cc/en/Tutorial/PWM width 960 id pot height 600