Home Chapter 8 Maxuino/Arduino dimming an LED
Maxuino/Arduino dimming an LED

Using one of the analog ports you can also dim and LED and change the brightness dynamically. It must be a pin on the Arduino that has the capability for analog outputs such as pins 11, 10, 9, 6, 5, 3 on the Arduino UNO. The frequency output is at approximately 980Hz and it is writing a PWM (pulse width modulation) so this can also be use to control motors as you will see in later chapters. Remember in order to use that patch below you will need to have the MaxuinoSimpleStart program open.