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

  • Finally, you can manage your Google Docs, uploads, and email attachments (plus Dropbox and Slack files) in one convenient place. Claim a free account, and in less than 2 minutes, Dokkio (from the makers of PBworks) can automatically organize your content for you.


Gilliland Lab 6

Page history last edited by abbygill@... 5 years, 5 months ago

Part B

3. Describe the tone pattern you hear (i.e., high or low, how long, etc.).

3 different pitches, from high to medium to low, repeating


Part C

Tell a member of the teaching team what your song is (or better yet, play it for us).

Absolutely Cuckoo, then Baba Yetu, then Adiemus, then Somewhere Over the Rainbow/What A Wonderful World


Does this code play all the songs in all the directories of the SD card? If not, which songs does it play? How does it keep from playing the text file?

Yes it plays them all, but not the datalog file. It only reads the MP3 files, not the text files.


Part D

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

See image IMG_0144.JPG


What are the pros and cons of using this method?

Pros: The buttons work. Before, when you press the button 15 times, it stops reacting properly. After debouncing the button works properly when pressed 15 times. 

Cons: The button is more reliable, but if you press the button many times quickly it doesn't always work. 



void loop() {

  switch(current_state) {

    //if (analogRead(A5) < 450){

    if (digitalRead(A5) == LOW){








Comments (0)

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