Question
mbed LPC1768 Language: C++ In this lab, we are going to re-design the keyboard echoing function from Lab 4 part 1. Except this time, we
mbed LPC1768
Language: C++
In this lab, we are going to re-design the keyboard echoing function from Lab 4 part 1. Except this time, we are going to need to also write what the user typed on the keyboard into a local data file on a microSD card.
Design the circuit to use a micro SD card with the card holder cradle to interface with the mbed system. Build your circuit and include all the required information about your hardware design in your lab report.
Based on the hardware you designed, design your software to echo the what the user typed on the keyboard back to the Tera Term and also store in a text file with the file named as YourFirstNameYourLastNameLab8. Your code and your stored text file must satisfy the following requirements:
- Each line in the text file can only contain no more than 80 characters.
- Your will need to use a character array to store each of the character for the users key stroke.
- The character array must be access using pointer (not index)
When the keystroke ESC is received, your code will close the file and re-open the file for read, and display the contents of the file to Tera Term. Upon the completion of the display, the program continues on the echoing process all over again.
Test your system by choosing a paragraph of less than 100 words from the Chapter 10 to type on your computer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started