Hi all! So I only recently got started in using the Arduino and I want to continue exploring it. I want to work with sensors, specifically a proximity sensor. I figure I should stick to the basics and use the sensor with LEDs. So my question is, is there a way that I can use a proximity sensor to control the brightness of an LED using an Arduino? As in, the closer a person gets the brighter it becomes, and the farther away the dimmer? What kind of code would I need? Would I be able to do this with multiple LEDs? How portable can I make it (I was told I could just upload the program and replace my laptop with a battery of some sort as the power source, is that correct)? And are all of these materials available at SAIC?
Thanks a bunch!