Question: Please do a flow diagram for the program Program 2. Write an Arduino C language program that uses the following formula to convert a temperature

Program 2. Write an Arduino C language program that uses the following formula to convert a temperature given in Celsius to Fahrenheit: F = 9/5 (C) + 32 In your program you should use directives to define the types of the variables C, F, and the values of the constants 9, 5 & 32 that will be used in the calculations. Prelab Work. 53C 20C, 5C, -19C and -40C. Note that Three temperature values will be converted: these are decimal values. 1.- First, convert the given values that represent Celsius temperatures in decimal to their corresponding binary and hexadecimal values. Celsius (Decimal) Celsius (Binary) Celsius (Hexadecimal) -19 -40 2.- Using the conversion equation convert each Fahrenheit temperature in to Celsius: Celsius (Decimal) Fahrenheit (Decimal) Fahrenheit (Binary) 2.- In your program, the temperatures in Celsius should be given one at a time by typing their value using the keyboard, and then display the given Celsius and its corresponding value in Fahrenheit on the terminal as follows: 20 degree Celsius = 68 degree Fahrenheit - At the same time, the corresponding binary value for the Fahrenheit Temperature should be displayed in the 8-LED connected to pins 2-9 of the Arduino, so that the LED will display the above Fahrenheit temperature as 0100 0100 3.- Using as reference the flow diagram and the Arduino instruction set, write the C program that can be used to perform the conversion from Celsius to Fahrenheit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
