| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

ee47_lab6

Page history last edited by Michelle 12 years, 10 months ago

Michelle Del Rosario

EE47 Lab 6

 

Part B. Connect and Test your Decoder

 

Describe the tone pattern you hear.

It sounds like a creepy three tone tune. The kind you hear in an old school horror video game scene!

 

Part C. Play some Music!

 

Tell a member of the teaching team what your song is (or better yet, play it for us). If you don't know the name, just decipher some of the lyrics.

 

The song is "Pursuit of Happiness" by Kid Cudi. 

 

Now look at the example code a bit: specifically the play_dir() and loop() functions.

How would you alter the code to play a second song? How does it keep from playing the text file?

Change the code to save the current volume setting in your EEPROM and fetch and set that value during initialization.

 

The code already handles playing multiple songs that are saved onto the card. The code also checks each file for two things - whether or not the file is a wav/mp3 format and if it's a directory. If the file is not an mp3/wav file, the code will automatically skip the file. If the file is an mp3/wav file, the code will play the song.

 

Part D. Interrupts

 

Draw us a quick sketch of what your circuit looks like.

 

 

Comments (0)

You don't have permission to comment on this page.