The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Need a flow chart for a program that displays a long message on the 2X16 LCD on the trainer board. In order to show a message that is longer than 16 characters you need to scroll the display. I have attached the things the flow chart should include.
Â
Flow chartSet up equ and rmb declaraTons for variables.We'll need equ for our pin de±niTons, delay Tming data. and the length of the message +16 to know theend of the message.rmb for at least one counter to index the string. it'll need 2 bytes2.IniTalizaTon rouTnes, set up port ddr and iniTal register states.3.iniTalize display in accordance with datasheet for half byte transfer in write only mode.4.set up for our iniTal data state. set index memory locaTon to start of the message.everything at this point is the starTng point for each message rotaTon.5.start the main display loop.6.load index memory into index X7.increment index X8.store index X into memory.9.check if index X is greater thanthe memory locaTon of the end of the message. branch to step 4 if it is.10.display the message starTng at index X and displaying 16 characters.11.Delay 1 second12.jump to 513.last part is the messageit needs to be padded with 16 ' ' front and back.this padding is need to display the message with proper alignment.
Attachments:
-----------