top of page

In class update on music project

  • Writer: Nicole Nitz
    Nicole Nitz
  • Feb 21, 2019
  • 1 min read

When I got to class, I tried pressing the button to play the song and turn on the light which worked. However, when I pressed the button again the music went off but the light didn't. I added the digital write pin 2 to 0 at the end of the code and now the light goes off along with the music. When I made the project last night I'm pretty sure the light went off with the music. Not sure if something happened to the wiring when it went in the box or maybe I messed up the code. If the music is in the middle of the loop and I press the button to turn it off it does finish the loop first.


Recent Posts

See All
Final Project Idea

For my final project I want to make an air hockey type of game but have it be single player. I want there to be a puck/ball and goal...

 
 
 

Comments


bottom of page