Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi, I am working on IAR embedded workbench 5 on MSP 430FG4618. I need help in co

ID: 3632408 • Letter: H

Question

Hi,
I am working on IAR embedded workbench 5 on MSP 430FG4618. I need help in coding a 4 by 20 LCD for displaying a logical calculator. For each operation, the correct operator must be displayed. For NOR, NAND and XNOR you may use the operator for OR, AND and XOR respectively with an underscore displayed above. There is no ~ character for your LCD, therefore when performing a NOT operation, you may use the square root sign as your operator.

After the template is displayed the cursor shall be on and blinking in the position of the first digit of the first operand. As the user enters the operands, the cursor shall move to the correct positions of each digit as entered. When both operands are entered, the cursor shall be turned off. The cursor shall only be on when digits are being entered. The entered operands shall be display on the LCD as shown below and interpreted as decimal values.


When both operands are entered, the binary values of each operand must be displayed as shown above (ten binary digits). In addition, the result of the operation must be displayed in binary and in decimal.

Explanation / Answer

"main.cpp" This is a test code.

 

 

 

 

 

 

 

 

 

my "TextLCD.cpp"

 

 

"

TextLCD.h"

 

 

 

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote