Day 16 Musica, Maestro!
The Plan
Gone is the time when music was an analog thing and the home stereo took up an entire rack of expensive electronics. Starting with music CDs almost 20 years ago and continuing today with iPods and MP3 players, music is now stored and consumed in digital form. For consumer and embedded applications, audio is an available and inexpensive option to delight but also to communicate with the user.
In this lesson we will explore the possibility to produce audio signals using the Output Compare modules of the PIC32. In Pulse Width Modulation (PWM) mode, and in combination with a more or less sophisticated low-pass filters, the Output Compare modules can be used effectively as DACs to produce an analog output signal. ...
Get Programming 32-bit Microcontrollers in C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.