We are open! Orders will be shipped as usual on Monday the 23rd.

Mp3 player

Placed on

The code

In this code we use the TMPpcm and SD library. Normally the SD library is already installed. The others can be found at this link: https://github.com/TMRh20/TMRpcm . To install the library press: Scetch > Include library > Add zip library.

To begin with, we define our libraries and variables

then we set everything up

Finally, we add the functions of our light and buttons. The light will illuminate if no µSD card is detected. The other buttons are there to pause the song and switch songs. So to start the music you have to press the 'next' or 'previous' button

Current Page 3. Code 1. Introduction 2. Connection diagram 3. Code 4. microSD 5. Housing Posted by Student industrial sciences

Comments

Webwinkelkeur Kiyoh Trustpilot Opencircuit