Question: please answer this short test on C # sharp arduino and follow the instructions amd hints the main ojective of the question is to create

please answer this short test on C # sharp arduino and follow the instructions amd hints  please answer this short test on C # sharp arduino and
follow the instructions amd hints the main ojective of the question is
to create code using C# that uses a switch input to change
the main ojective of the question is to create code using C# that uses a switch input to change between 3 signals that are displayed in the bar graph of the arduino(Sawtooth, count up amd count down) . the switch inputust be read a t every input t and move to the next signal immediatly. Should be set between 10 ms and 1000ms.
for extra 10 marks please explain why the switch input is unrelaiable at slow speeds
between 3 signals that are displayed in the bar graph of the

For all code sections, marks will be deducted for bod readability (e.g. missing or mismatching comments, poor variable names, bad indentation, unrecognised coding style, etc.), inappropriate use of global variables, unnecessary code repetition, incorrect behaviour, or foilure to follow requirements of the lab question. General marks are also lost if the submission document instructions are not followed. Marks will be awarded for good design decisions and using the oppropriate features of C to ochieve the programme goals. Tuning visual feedback The basic objective of this assignment is to use Switch input to change between 3 types of signal that are displayed on the Bar Graph (Sawtooth, Count-up and Count-down). The switch input must be read at every point t and move to the next signal immediately. The time between t1 and t2, etc should be set by the value of the Potentiometer and should vary between 10ms and Hints: - Use separate functions for the different signals and other tasks. - Use variables at the Loop() level to record the state and pass the relevant state to the functions as parameters. Do not use global variables. - Do use global constants and arrays of constants to iterate between states, signals and along the elements of the bar graph. - The map() function will be useful for the Potentiometer Tuning visual feedback The basic objective of this assieninent is to use 5 witch input to change between 3 trpes of sieral that are dioglayed on the Bar Graph (Sawtooth, Count-up and Count-down). The switch input must be read at every point t and move to the next sienal immedately. The time between t1 and n. etc should be set by the value of the Potentiometer and should vary between 10 rns and 1000ms. for an addicional 10 marks explain why the switch input can become unreliable at slow

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!