| 
  • 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
 

Lab 3 Writeup - Dan Robinson

Page history last edited by Dan Robinson 12 years, 11 months ago

1. a) One way to double the speed of the "song" is to change the line that sets noteDuration to:

int noteDuration = 500/noteDurations[thisNote];

    b) The second melody is the Star Wars Theme.

 

2. a) Out LCD screen uses a 5V supply.

    b) When I first attempted to wire up the board, I attached DB4-DB7 on the LCD to analog pins 2-5, instead of digital pins 2-5. I fixed it by looking through the comment in our display code and catching the discrepancy.

    c) We can change the lcd.print() line and put in an arbitrary ascii string (up to 16 characters).

 

3. a) http://www.youtube.com/watch?v=XGhbPQORD9w

   b) Done. Cool!

Comments (0)

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