Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

we are using C++ to excute the code we can also use C/C++ all i need is the pseudo code LABORATORY INVESTIGATION #05: mbed Programming

image text in transcribed
we are using C++ to excute the code
we can also use C/C++ all i need is the pseudo code
LABORATORY INVESTIGATION #05: mbed Programming Introduction Obiectives: 1. To learn how to program an mbed NXP LPC1768 microcontroller to perform a basic output function 2. To develop familiarity with the mbed Compiler and online resources 3. To demonstrate serial communications between a PC and the microcontroller, allowing user input to alter mbed output 4. To demonstrate "C" programming fluency to include use of while', 'for', 'if, and switch'. Introduction: This lab assumes that the student has successfully completed the SY202 In-Class Exercise Tutorial: mbed Microcontroller. Access to the online mbed compiler is required. A serial terminal emulator such as TeraTerm is required on the PC to allow for user interaction with the mbed. Procedure Develop and test an mbed program that requests the user to select one of the following messages to transmit in Morse code using LEDI on the mbed. The program should continue to run after transmitting the coded message until the user enters 'Q' orq" Messages: a) "USNA" b) "2023 c) "CyberOps" Ensure that your program follows the conventions for light signaling detailed in NIMA Pub 102, International Code of Signals, Chapter 1, Section 3 and Section 6. These conventions state that the rate of 40 letters per minute is used for flashing light transmission of Morse code (approximately 200 milliseconds per "dot" or "unit"). Additionally, the space between any two elements of a symbol, between letters, and between words should follow the requirements of these sections. Write pseudocode prior to attempting to write the actual mbed code You may use the internet or other resources as guidance. However, do not submit someone else's code as your own and be certain to cite any source of code that you may adapt form someone else. Ensure that your code is well commented so that I can understand your approach to solving this problem Extra Credit (8 Points): One approach to solve the above task is to code each message individually in its entirely. However, such method does not allow the transmission of arbitrary messages other than USNA, 2023, or CyberOps Modify your code such that you can transmit (as option (d)) any message entered by the user comprised of letters and number no larger than 12 characters. You are allowed to exclude the use of symbols (including the space" bar) in your message Deliverables: 1. Pseudocode that details the desired program functionality 2. Demonstrate program operation to the instructor. This may be accomplished virtually or in-person or by providing your functioning program (ie, a compiled "bin" file) that can be direedy loaded onto the instructor's mbed to verify functionality, 3. Follow the lab report template and the general lab guidelines for SY 202 lab reports Refer to the lab rubric for the grading of the lab LABORATORY INVESTIGATION #05: mbed Programming Introduction Obiectives: 1. To learn how to program an mbed NXP LPC1768 microcontroller to perform a basic output function 2. To develop familiarity with the mbed Compiler and online resources 3. To demonstrate serial communications between a PC and the microcontroller, allowing user input to alter mbed output 4. To demonstrate "C" programming fluency to include use of while', 'for', 'if, and switch'. Introduction: This lab assumes that the student has successfully completed the SY202 In-Class Exercise Tutorial: mbed Microcontroller. Access to the online mbed compiler is required. A serial terminal emulator such as TeraTerm is required on the PC to allow for user interaction with the mbed. Procedure Develop and test an mbed program that requests the user to select one of the following messages to transmit in Morse code using LEDI on the mbed. The program should continue to run after transmitting the coded message until the user enters 'Q' orq" Messages: a) "USNA" b) "2023 c) "CyberOps" Ensure that your program follows the conventions for light signaling detailed in NIMA Pub 102, International Code of Signals, Chapter 1, Section 3 and Section 6. These conventions state that the rate of 40 letters per minute is used for flashing light transmission of Morse code (approximately 200 milliseconds per "dot" or "unit"). Additionally, the space between any two elements of a symbol, between letters, and between words should follow the requirements of these sections. Write pseudocode prior to attempting to write the actual mbed code You may use the internet or other resources as guidance. However, do not submit someone else's code as your own and be certain to cite any source of code that you may adapt form someone else. Ensure that your code is well commented so that I can understand your approach to solving this problem Extra Credit (8 Points): One approach to solve the above task is to code each message individually in its entirely. However, such method does not allow the transmission of arbitrary messages other than USNA, 2023, or CyberOps Modify your code such that you can transmit (as option (d)) any message entered by the user comprised of letters and number no larger than 12 characters. You are allowed to exclude the use of symbols (including the space" bar) in your message Deliverables: 1. Pseudocode that details the desired program functionality 2. Demonstrate program operation to the instructor. This may be accomplished virtually or in-person or by providing your functioning program (ie, a compiled "bin" file) that can be direedy loaded onto the instructor's mbed to verify functionality, 3. Follow the lab report template and the general lab guidelines for SY 202 lab reports Refer to the lab rubric for the grading of the lab

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions