hello i need help with my lab for – Microcontrollers and please use the program Code Composer Studio and i attached the lab down below thank you for your help Please don’t forget the screenshot than you. ‘
EGEC 280- Microcontrollers
LAB #5 Report
Name:
Date:
Delete this section.
• Body text must be Times new roman, font 12.
• Please crop your screenshots to show relevant sections legibly.
• Organize your report in the same sequence as the deliverables listed,
maintain the same section numbering.
1.
Write a code to take an input from the user and check if it is even or
odd. If it is even, switch on the Red LED on Port 1. Copy paste your
code here
2.
Change the code to work with Port 2 LEDs. You can work with any
color combination for odd/even.
3.
In the memory map from Slide 13 of “Introduction to ARM Cortex” or
Pg 85 of the book (second edition), point out the location of the code,
variables and ports. Are they where they should be?
4.
Draw a flowchart of the steps you followed to designate the port as
output.
5.
Draw a flowchart of the steps you would have followed if you had
wanted to use the switches on port 1 pins 1 and 4.