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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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