Question: Write a function lcd _ rotatingBanner ( . . . ) to display a rotating banner on the LCD screen. Every 3 0 0 milliseconds

Write a function lcd_rotatingBanner(...) to display a rotating banner on the LCD screen. Every 300
milliseconds (0.3 seconds), the text Microcontrollers are lots of fun! should move one position to the
left. The banner should repeat indefinitely. Duplicate and edit the helloworld project, as it provides a
good starting point.
The program should adhere to the following requirements:
- Only the first line of the LCD screen should be used. The LCD screen has 4 lines. The second line
should be blank all the time.
- At the beginning, the first letter M should appear on the right side of line 1 of the LCD screen. The
subsequent characters (i, then c, etc.) appear one-by-one every 0.3 seconds.
- After the 20th letter appears (filling the first line of the LCD screen), the remaining characters of the
message push the old letters off the LCD screen to the left.
- After the last character ! appears on the right, the message continues shifting to the left. Every 0.3
seconds the leftmost letter is pushed out until the screen is completely cleared.
- After the screen is cleared for 0.3 seconds, repeat the entire banner again.
- The banner should repeat forever until the board is turned off
- The program should be written so that only the message is modified in the code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!