Hi, I'm new to the forum community and also Arduino. I need to solve a programming problem in Arduino and I have no idea how to start :confused: 1. In the following scenario develops a program to perform the following actions.
-As the light is in a range between 0 and 100, should completely turn on the LED. -As the light is in a range between 101 and 400, should turn the led to 50%. -In the range of 401-1023 should be off. -A second LED to 50% should ignite if it detects movement in the range of 2.1 meters to 4 meters (motion sensor). -100% if the rago of 0 meters to 2 meters :)