In this lab we will use the uart0 peripheral to communicate

Assignment Help Application Programming
Reference no: EM13348033

In this lab we will use the UART0 peripheral to communicate with a PC using the RS232C serial protocol. We will continue using functions to encapsulate the low level details of the code to make programs more readable and make the code within the function reusable. All work is to be completed on your own. You may use the Tivaware examples in the C:\ti\TivaWare_C_Series-1.1\examples\boards\ek-tm4c123gxl directory, the class notes, and the book for reference, but please do not discuss this project with other students. You may use the functions provided in the example code segment discussed in class and included in the framework file posted to Angel as a starting point for your code. You may use the UART_Init, CheckForInputCharacter, UARTInputCharacter, and UARTOutputCharacter functions provided; you do not need to write your own functions for these operations.

You must submit a prelab showing reasonable effort to receive full credit for this lab.

Operation

The program will repeat the following steps:

1. Wait for a single character to be received on the serial port

2. Choose a response based on the character received:

a. If the character is an upper case letter, transmit the next letter in the alphabet (calculated with a simple math operation) to the serial port and turn on the green LED. For example, if the letter A is received, send the letter B to the serial port.

If the letter Z is received, send the letter A to the serial port.

b. If the character is a lower case letter, convert the letter to upper case (using a simple mask operation), send the letter to the serial port, and turn on the blue LED

c. If a character other than a letter is received, send an asterisk (*) to the serial port and flash the red LED at a 300 ms rate.

Reference no: EM13348033

Questions Cloud

Describe about data analysisbullbriefly address the data : describe about data analysisbullbriefly address the data analysis process.bullidentify and justify the univariate
Visit and analyze the company-specific web-site with : visit and analyze the company-specific web-site with respect to e-commerce issueso what are the strengths and
Social norms campaigns examining the relationship between : social norms campaigns examining the relationship between changes in perceived norms and changes in drinking levelson
Problems- how can theory guide and inform practice- what : problems- how can theory guide and inform practice?- what are the issues involved in translation transformative
In this lab we will use the uart0 peripheral to communicate : in this lab we will use the uart0 peripheral to communicate with a pc using the rs232c serial protocol. we will
You have just graduated and one of your favorite courses : you have just graduated and one of your favorite courses was financial management.nbsp while you were in school your
Assume that you are the assistant to the cfo of xyz : assume that you are the assistant to the cfo of xyz company.nbsp your task is to estimate xyzs wacc using the following
John and jane doe are senior vice presidents of insurance : john and jane doe are senior vice presidents of insurance mutual of tampa. they co-manage the equity investments for
Question 1californian almond orchands are using : question 1californian almond orchands are using approximately one million bee hives each spring to pollinate the almond

Reviews

Write a Review

Application Programming Questions & Answers

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  You will build a recursive-descent parser for the right

you will build a recursive-descent parser for the right recursive version of the classic expression grammar found in

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  Memory managementwrite a paper to provide depth knowledge

memory managementwrite a paper to provide depth knowledge of how memory is used in executing your programs and its

  Memory location 2000h has the word 5000h stored in it what

memory location 2000h has the word 5000h stored in it. what does each location contain after inc byte ptr2000h. also

  Problem descriptionyou are working as an engineer for a

problem descriptionyou are working as an engineer for a materials manufacturing research lab and have been asked to

  Part a question make a student inheritance hierarchy this

part a question make a student inheritance hierarchy. this must comprise the given requirementsi make the student

  Create a multi-threaded competition in which opposing robin

create a multi-threaded competition in which opposing robin hoods will attack one another and try to take each others

  Problems1the file myinputfiletxt is an encrypted file your

problems1.the file myinputfile.txt is an encrypted file. your assignment is to decrypt this file and hopefully answer

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd