Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is part of Arduino lab, but the first script does not need any lab equipment. Any help is appreciated. 1. Design a. Create an

image text in transcribed

This is part of Arduino lab, but the first script does not need any lab equipment. Any help is appreciated.

1. Design a. Create an algorithm (represent via pseudocode or flowchart) that takes x samples of data, each taken y seconds apart, and then calculates the average of those samples b. In the lab, we will implement this algorithm inside a function definition. List the parameters you think we will need to be passed into this function for it to behave correctly, yet be as "reusable as possible. You can assume it will only be used to monitor analog sensors. Also list the return value(s) you think this function shou return. 2. Test plan a. Describe how you can use print() or lcd_print() within your function definition and/or an analog input device you can control easily (ie. the rotary dial) to help determine if the algorithm is implemented correctly AND if the parameters passed in to the function are being used correctly. 1. Design a. Create an algorithm (represent via pseudocode or flowchart) that takes x samples of data, each taken y seconds apart, and then calculates the average of those samples b. In the lab, we will implement this algorithm inside a function definition. List the parameters you think we will need to be passed into this function for it to behave correctly, yet be as "reusable as possible. You can assume it will only be used to monitor analog sensors. Also list the return value(s) you think this function shou return. 2. Test plan a. Describe how you can use print() or lcd_print() within your function definition and/or an analog input device you can control easily (ie. the rotary dial) to help determine if the algorithm is implemented correctly AND if the parameters passed in to the function are being used correctly

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

How would you rate Hsiehs leadership using the Leadership Grid?

Answered: 1 week ago

Question

Project management skills and/or experience desirable

Answered: 1 week ago