ECET 330 DeVry Week 6 iLab

Downloading is very simple, you can download this Course here:

http://wiseamerican.us/product/ecet-330-devry-week-6-ilab/

 

Or

Contact us at:

SUPPORT@WISEAMERICAN.US

ECET 330 DeVry Week 6 iLab

ECET330

ECET 330 DeVry Week 6 iLab

 

ECET 330 DeVry Week 6 iLab

Laboratory Number: 6

Laboratory Title: Embedded C Programming: Part I

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 with embedded C is 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.
  2. 1-B.Cut and paste the Memory window to show the value of result.
  3. 1.C – What is the value displayed on the LEDs after you single step the line PTT = ~result?
  4. 2. A. What are the LED values?
  5. 2. B. Calculate the delay size and show your work.
  6. 3. A. Cut and paste the source code.
  7. 3. B. Cut and paste the Memory window.
  8. 3. C. Describe the values of LEDs. What is the last value that you see?
  9. 4. A. Cut and paste the source code.
  10. 4. B. Describe the values of LEDs. What is the last value that you see? Does the loop end?
  11. 5. . Does the loop end? Describe the reason.
  12. 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.

  1. 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: