Hi, @samoht13
Welcome to the forum.
To add code please click this link;
Have you programmed a UNO before?
Can you please post links to data/specs of your servo and sunlight sensors.
Please start you codes in stages.
- Write some code to JUST read the sensors and get working.
- Write code to JUST test the servo, get it working.
- Then think about how you will write the combination of the codes. At this point you should have some idea as you have got you I/O codes working.
Thanks.. Tom..