Hey guys, I wanted to make auto blind shutters. So I got my photocell,servo, and arduino as well as battery pack for the arduino. I wanted to make the arduino read the data from the photo cell and when it is morning and the sun comes up the blinds shut (or for any sensor so I can use what ive learned and not keep posting, which takes away from others who need help). But when I write the code I have no clue how to use the photo cell, but I got the servo to turn 180 but I cant figure out how to make it stop? any ideas?
Also does anyone have any suggestions for what to add on the credits ( like what info to include or maybe provide an example), I want to have my sketches open source and anyone can use them. But I still want to have the credit for what I wrote