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

050813 lab 5 report

Page history last edited by Lea Hyun Kim 7 years, 4 months ago

Part A.

a. With the smaller font, what is the longest message you can write across one line of the display? How many lines can you write?

14 characters, upto 5 lines.

a. Upload a photo of your personal logo, shown on your LCD screen, to your Lab 5 page.

Part B.

a. Include the code that you had to insert to do this in your lab writeup.

 

if (dataFile) {

     while (dataFile.available()) {

          Serial.write(dataFile.read());

     }

     dataFile.println("He who must not be named!");

     dataFile.close();

} else {

     Serial.println("error opening datalog.txt");

}

 

b. Explain what would you do differently (or show us your code!) to insert the same text string, but at the beginning of the file (without over-writing the current contents).

a. Post your codea.

a. Tell us what you had to change to make this work.

 

Part C.

Comments (0)

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