Question: Assignment 1 . 1 . a Define an array with 5 int values. If the user presses button 1 , the program starts reading 5
Assignment a
Define an array with int values.
If the user presses button the program starts reading successive samples from the potentiometer
and stores the ADCvalues in the array. The sample interval time is s Use a forloop for filling
the array and showing the values. If the user presses button all sample values are shown on the
serial monitor. Test the program. Turn the knob of the potentiometer while sampling to get variation in
the measured results.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
