Pulse Width Modulation (PWM) is a very easy, and often used method to get audio out of your microcontroller. But, there is a lot more going on under the hood besides for just writing values to your timer. We just finished a complete dissection of how PWM works, and what you can do to get the best possible audio from your PWM output. We also put up an Arduino sketch that helps you quickly navigate the possible options, and pick the settings that are best for your application. So follow the links below to learn more!