To learn how to use the rom program space for data

Assignment Help Other Engineering
Reference no: EM131075503

Objectives:

  • To become familiar with enabling internal pull-up resistors and reading an input port
  • To learn how to wait for a pushbutton press
  • 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
  • To learn how to use the ROM program space for data

Observations/Measurements:

IV. 1- A. Cut and paste the Memory window, showing the value of mybye before pressing SW1.

IV. 1-B. Cut and paste the Memory window, showing the value of mybyte after pressing SW1.

IV. 1.C - Which LED light turns ON?

IV. 1.D- What are the LED values when you press SW2?

IV. 2. A. Cut and paste the source code.

IV. 2. B. What is the value of PT1AD? Cut and paste the Memory window, showing the value of PT1AD.

IV. 2. B.What are the LED values when you press SW2? Describe what you observe when you press any of the pushbuttons

IV. 3. A. Cut and paste the source code.

IV. 3. B. What are the LED values when you press SW4? Describe what you observe when you press a different switch when the light is ON.

IV. 4. A. Cut and paste the source code

IV. 4. B. Cut and paste the Memory window.

IV. 4. C. Describe how you verify that the data is stored in ROM. Cut and paste the Memory window.

IV. 4. D. Describe how you verify that the data is stored in RAM. Cut and paste the Memory window

Questions:

Describe the code statement:

while ((PT1AD & 0xF0) != 0xF0);

1. What does this code do? Do we need the inner parenthesis for the code to work? Why?

2.When we define an array in the program ROM space, we use a const keyword. What does this keyword do? What does happen if we remove this keyword?

Reference no: EM131075503

Questions Cloud

Eyes from electromagnetic radiations : Welders wear special goggles or face masks with glass windows to protect their eyes from electromagnetic radiations. Name the radiations and write the range of their frequency.
Set up the leontief input-output model for this situation : There is a final demand of 20 units of goods and 30 units of services. Set up the Leontief input-output model for this situation.
Motion of copper plate damped : The motion of copper plate is damped when it is allowed to oscillate between the two poles of a magnet. What is the cause of this damping?
Insulating strings of equal length : Two equal balls having equal positive charge ‘q' coulombs are suspended by two insulating strings of equal length. What would be the effect on the force when a plastic sheet is inserted between the two?
To learn how to use the rom program space for data : To become familiar with enabling internal pull-up resistors and reading an input port. To learn how to wait for a pushbutton press
Calculate the angular velocity of the mars : Calculate the angular velocity of the Mars (orbital period of 1.88 Earth period) in its orbit around the Sun. Calculate the angular velocity of the Mars (rotational period of 1.03 Earth period) about its axis.
Potential at the centre of the sphere : A hollow metal sphere is charged such that the potential on its surface is 10 V. What is the potential at the centre of the sphere?
What is the dimension of the null space of a : MATH 54 QUIZ 5. Suppose A is a 5 × 7 matrix whose rank is 3. What is the dimension of the null space of A? Justify your answer
Spherical charged conductor constant : Why is the potential inside a hollow spherical charged conductor constant and has the same value as on its surface?

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd