Question: MSB LSB OOOOOOOO Pin 1 - 0 0 - 88.-136 0 0 1 0 0 Figure 3 LED Procedure. 1) Draw a flow diagram that
MSB LSB OOOOOOOO Pin 1 - 0 0 - 88.-136 0 0 1 0 0 Figure 3 LED Procedure. 1) Draw a flow diagram that can The Microcontroller should read an in w diagram that can be used for the implementation of the following programs Controller should read an integer number from the user using the keyboard calculates the Summation and factorial of the given number as: Summation (n) n n =1+2+3+4+...... Factorial (n)= n!-1.2.3. .....n 2) Write the corresponding C language program 4) Your program should be a loon readine the number and displaying its correspondi summation and factorial values on the computer's screen as follows. 3) Display the Display the value of the summation on the computer screen in decimal and output the converted value of the summation in binary to the LED display so that it shows the corresponding value as ones and zeroes. 3) For example, if the number n=4 then the computer screen should show: Summation (4) = 10, and show the corresponding value in binary 0000 1010 on the LEDs, so the LEDs will display this value as follows. OOOOOOOO 3) After receiving an Enter from the keyboard, the screen should show: Factorial (4)= 24. and show the corresponding value in binary 0001 1000 on the LET as follows. OOOOOOOO Using the simulation software, write your C program and connect the circuit as show Fig. 3 and demonstrate that it operates correctly for the calculation. Instructor Verification
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
