Question: Need help writing this code in C. Also how would you build this circuit? Using a photo sensor, display the binary output of the measured

Need help writing this code in C. Also how would you build this circuit?
Using a photo sensor, display the binary output of the measured light on the 10 segment LED block. Use a switch (not a button) to put the system into one or the other of two modes. The display must range from near 0 to near 1023. Mode 1: Display the measured light continuously. Mode 2: Capture the measured light when a push button has been pressed (the button must be denounced) and display it on the LED block. Part 2: Read a letter (a-z) from the serial monitor and display the corresponding Morse code on an LED and in text on the monitor (dot dot dash). You must use an array to retrieve the appropriate Morse code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
