Question: Write a C program to calculate the root mean square of numbers in an array. If the result is less than the first predefined value,

Write a C program to calculate the root mean square of numbers in an array. If the result is less than the first predefined value, then the red color of LED2 connected to pin P2.0 on the MSP432 LaunchPad will turn on. If the result is between the first and second predefined values, then the green color of LED2 connected to pin P2.1 on the MSP432 LaunchPad will turn on. If the result is larger than the second predefined value, then the blue LED connected to pin P2.2 on the MSP432 LaunchPad wil turn on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
