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

050813 lab 5 report

Page history last edited by Lea Hyun Kim 10 years, 11 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.