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

Lab 3 Writeup - Dan Robinson

Page history last edited by Dan Robinson 9 years, 5 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.