Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WRITE A PROGRAM WHICH COMMUNICATES WITH USART TERMIAL OF THE DEVELOPMENT SOFTWARE WITH BAUD RATE OF 56000. YOUR PROGRAM IS SUPPOSED TO ACCEPT SINGLE CHARACTERS

WRITE A PROGRAM WHICH COMMUNICATES WITH USART TERMIAL OF THE DEVELOPMENT SOFTWARE WITH BAUD RATE OF 56000. YOUR PROGRAM IS SUPPOSED TO ACCEPT SINGLE CHARACTERS FROM USART TERMIAL UNTIL @ BUTTON IS PRESSED BUT NO MORE THAN 50 CHARACTERS, SORT THEM IN ASCENDING ORDER BASED ON ASCII VALUES AND RETURN THEM TO USART TERMINAL TO BE DISPLAYED.

THE NUMBER OF CHARACTERS SORTED MUST BE ALSO SENT TO USART TERMINAL AND DISPLAYED AT THE BOTTOM OF THE SORTED LIST.

EACH CHARACTER MUST BE DISPLAYED ON ONE LINE (SENDING CARRIAGE RETURN AND LINE FEED AFTER EVERY CHARCTER CAN DO THIS FOR YOU). YOU CAN USE LIBRARY FUNCTIONS FOR THIS PROJECT.

FIRST SEND A MESSAGE TO USART TERMINAL ASKING TO START SENDING CHARACTERS, THEN SEND A MESSAGE TO DISPLAY THE SORTED CHARACTERS AFTER IT, THEN DIPLAY A MESSAGE WHICH TO DISPLAY THE NUMBER OF CHARACTERS ENTERED. ALSO, AS YOU ENTER THE CHARACTERS THE TOTAL NUMBER OF CHARACTERS ENTERED AFTER EACH KEY STROKE MUST BE DISPLAYED ON THE LEDs ON PORT D. THEN THE LEDs MUST RESET TO ZERO TO BE READY FOR THE NEXT ROUND.

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago