5,710
edits
Changes
→Sound, Tone Generation
* http://www.arduino.cc/en/Tutorial/PlayMelody
* this adjusts the frequency of the output (tone) not the magnitude.
* the light fading above (<code>analogWrite()</code>) adjusted the brightness of the light (magnitude) with PWM. * Can you drive a speaker? [[Image:Pwm_tones.png]]
== BONUS ==