Principles of code encapsulation

Assignment Help Other Subject
Reference no: EM133043692

Assignment

Using SEOS, and the principles of code encapsulation discussed previously, put together a system which does the following:
- The system should read data from three analog channels, with data being read every 0.1 seconds for each channel.
- The joystick should allow the user to select which channel is being displayed.
- When channel 0 is being displayed, '0' should appear on the seven segment LED, and the ADC reading (scaled) should be displayed as a bar chart on the sixteen PCA9532 LEDs. Similarly for channels 1 and 2.
- If the ADC reading for the current channel is below 1000 the RGB LED should be blue, if it is above 3000 the LED should be red, and if it is within the 1000-3000 range it should be green.

A few notes:
- "Using SEOS" is in the instructions. If you don't use SEOS, you will not get a pass mark for this assignment.

- SEOS means splitting tasks up. I would expect to see these tasks, or something similar:
o Either one or three tasks for the ADC readings.
o A task to check the joystick.
o A task to display on the PCA9532 LEDs.
o A task to display on the seven segment display.
o A task to display on the RGB LED.

Reference no: EM133043692

Questions Cloud

How should Highland Laboratories account for its investment : One of the other accountants disagrees, stating that the equity method is appropriate. How should Highland Laboratories account for its investment
Disadvantages of using traditional predictors : Determine three advantages and three disadvantages of using traditional predictors (e.g., resume-bio presentations, interviews, and reference checks)
Explain person-centred and strengths-based approaches : Explain person-centred and strengths-based approaches to working with people with disability.
List the safeguards that AA might have used : List the safeguards that AA might have used to reduce the threats of independence to an acceptable level
Principles of code encapsulation : Principles of code encapsulation - current channel is below 1000 the RGB LED should be blue, if it is above 3000 the LED should be red
Differences between leadership and management : 1) Identify and explain the differences between Leadership and Management.
Describe two natural disaster risks : Consider the Boston Marriott Long Wharf hotel located on the Boston Harbor.
What is the equity at the beginning of the year : Using the Expanded accounting equation, calculate and enter the answers for each question. What is the equity at the beginning of the Year
What was the company revenue for the year : Blue Spruce Corp. began the year with retained earnings of $322000. If Blue's ending retained earnings was $342000, what was the company's revenue for the year

Reviews

Write a Review

Other Subject Questions & Answers

  Develop corporate compliance plan can prevent internal crime

Developing and enacting a Corporate Compliance Plan can prevent internal crime and avoid fraudulent trends within a company's own walls.

  Research the various drug prevention programs

Research the various drug prevention programs (family-based, school-based, community-based) utilized today and examine why some programs have been more successful than others in fighting drug abuse.

  Identify new asset and accumulated depreciation accounts

BSBFIA402 Report on financial activity - Identify new asset and accumulated depreciation accounts specifically for the vehicle asset using the chart of accounts

  Do you think our current appellate process allows

Do you think our current appellate process allows for too many appeals, too few appeals, or is the appellate system just right?

  Construct a table showing the profit from the strategy

Construct a table showing the profit from the strategy. For what range of stock prices would the butterfly spread lead to a loss?

  Process-oriented leader

How does a task-oriented leader differ from a process-oriented leader? Compare and contrast the two leadership qualities and styles. When would one leadership role be more effective and useful to the goal of the small group? The student should pro..

  Discuss how each data source is relevant to the problem

Discuss what data you have collected or researched to indicate there is a problem. Discuss how each data source is relevant to the problem

  Develop a risk assessment tool to be used to conduct survey

Risk Assessment Methodology described and applied to evaluate likelihood and impact of risks to organization and critical assets.

  Architecture is not about math or zoning

"Architecture is not about math or zoning - it's about visceral emotions," says Marc Kushner. Discuss your thoughts on the Marc Kushner video.

  Basic concepts in moral philosophy

Please determine which questions belong to theoretical ethics and which belong to applied ethics.

  What questions or misconceptions did you have

What questions or misconceptions did you have about American Slavery before watching the film and the lecture. It can be about anything!

  What does mainstream us culture value

What does mainstream U.S. culture value? List the things mainstream U.S. culture finds to be most important. How do the things we value match (or not match) other cultures you are aware of.

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