get the light level outside before getting the light level wait for 5 seconds The system runs a loop 5 times. In each iteration, it measures the current lighting conditions and adjusts the dining room lights: increasing brightness if it is too dim, reducing it if it is too bright, or turning the lights off if it is night. After each update, it waits for 2 seconds and then proceeds to the next iteration until the loop completes. At the very end of the process it switches the light off. Make the lights flicker for the next 10 seconds in a 1 second interval. Case1: Increase the lighting in steps of 20 until the maximum of 100 with a delay of 1 second in between. Case2:Increase the lighting in steps of 20 until reaching 100 with a 1-second delay between steps. Before each intensity change, ensure the light is turned on. Make the light pulse for 30 seconds by repeatedly setting brightness to a random value between 20% and 80% in a loop controlled by a shared boolean variable condition = true. In parallel, wait exactly 30 seconds and then set condition = false. The pulsing loop must stop immediately when condition becomes false. Blink the room light exactly 20 times. Turn the red LED on for 5 seconds and then switch it off. Alternate the red and yellow LEDs every second for 30 seconds. Turn on all LEDs for 3 seconds and then turn them off again.