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

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

lab3_caseywojcik

Page history last edited by Benjamin Tee 9 years, 1 month ago

  1.  
    1. How would you change the code to make the song play twice as fast?
      1. change "int noteDuration = 1000/noteDurations[thisNote];" to "int noteDuration = 500/noteDurations[thisNote];" 
    2. What song is playing? ;-) 
      1. The Star Wars theme is playing. ;-) 

  2.  
    1. 5V are required.  ✔ How did you find out?
    2.  
    3. What was one mistake you made when wiring up the display? How did you fix it?
      When wiring the display, I first wired the pins on the screen backwards; I looked at the diagrams in the spec sheet to fix this problem. 

    4.  

    5. What line of code do you need to change to make it flash your name instead of "Hello World"?
      lcd.print("hello, world!"); could become lcd.print("Casey"); 
       


  3.  
  4. IMG_0214.MOV

 

✔ Excellent use of interrupt pins in your timer! Also, good that you are using states to describe your uC operation. Awesome work! Keep it up! 

Comments (0)

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