Description
DeVry ECET 330 Week 6 ilab Latest
lorLaboratory Report Cover Sheet
DeVry University
College of Engineering and Information Sciences
Course Number:ECET330
Professor: Alireza Kavianpour
Laboratory Number: 6
Laboratory Title:Embedded C Programming: Part I
Submittal Date:
Objectives:
- 1.To learn how to write a C program using CodeWarrior IDE
- 2.To learn how to program I/O instructions in C language
- 3.To learn how to organize a C program to read data from input ports, process the data, and display the result on a simple output device
- 4.To learn how to write inline assembly language in C
Results:
While programming withembedded Cis the mindset; for embedded applications, we need to optimally use the resources, make the program code efficient, and satisfy real time constraints, if any.
Conclusions:
I was able to run the program successfully.
Team: | May Saw | EET | |||
Name | Program | Signature |
Observations/Measurements:
- 1.IV.1-A. Cut and paste the Memory window.
.png” alt=”Text box: “>
- IV.1-B.Cut and paste the Memory window to show the value of result.
.png” alt=”Text box: “>
- IV.1.C – What is the value displayed on the LEDs after you single step the line PTT = ~result?
.png”> |
- IV.2.A. What are the LED values?
.png”> |
- IV.2.B. Calculate the delay size and show your work.
.png”> |
- IV.3.A. Cut and paste the source code.
- IV.3.B. Cut and paste the Memory window.
- IV.3.C. Describe the values of LEDs. What is the last value that you see?
- IV.4.A. Cut and paste the source code.
- IV.4.B. Describe the values of LEDs. What is the last value that you see? Does the loop end?
.
- IV.5.. Does the loop end? Describe the reason.
- IV.6.Cut and paste the source code.
Questions:
- 1.When we write a C program, in some cases, we need to write some part of the code in assembly language.What do we call an assembly-language code written in a C program? Describe a situation where assembly-language code is preferred over C.
- 2.Discuss the reason why we used unsigned char for a loop counter of Problem 4 as opposed to int.
Grade:
Deliverable | Points Available | Points Achieved |
Laboratory Cover Sheet | 8 | |
Working Circuit(s)/Program(s) | 8 | |
Observations/Measurements | 6 | |
Questions | 8 | |
Total Points | 30 | |
Comments: |
DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for DeVry ECET 330 Week 6 ilab Latest, then contact us through call or live chat.
DeVry ECET 330 Week 6 ilab Latest
Reviews
There are no reviews yet.