# Arduino coding servos

**URL:** <https://community.particle.io/t/arduino-coding-servos/38048>\
**Category:** General\
**Created:** [December 10, 2017, 2:11pm UTC](https://community.particle.io/t/arduino-coding-servos/38048 "2017-12-10T14:11:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luiso123](https://avatars.discourse-cdn.com/v4/letter/l/a698b9/32.png) [@Luiso123](https://community.particle.io/u/Luiso123)\
**Post date:** [December 10, 2017, 2:11pm UTC](https://community.particle.io/t/arduino-coding-servos/38048/1 "2017-12-10T14:11:46Z")

</div>

I want to edit this code from a sunlight tracker, i want to edit it so the horizontal motor can rotate 360° aroud insted of 180 (i would be changing the servo for a continues rotation servo) and as u can see the code has 2 servos and 4 ldr censor, i woikd like to eliminate the vertical servo from the code i only need the horizontal servo but i need it to move in any direction as 360 around as need to poit at the sun as if i was in a moving car that changing direction but the tracker wold always point at the sun

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [December 10, 2017, 2:22pm UTC](https://community.particle.io/t/arduino-coding-servos/38048/2 "2017-12-10T14:22:04Z")

</div>

Hey there,

Three questions:

1. Are you aware this forum is for Particle, not really arduino?
2. What code?
3. What’s your question?

I believe you really do need two servos to capture the whole range of motion of the sun ~~, unless you happen to live on the equator.~~ Why do you think one would suffice?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 10, 2017, 2:38pm UTC](https://community.particle.io/t/arduino-coding-servos/38048/3 "2017-12-10T14:38:14Z")

</div>

Horizon and “sun’s zenith” (elevation at noon) don’t really share one plane anywhere on earth - especially not at the equator 😉

On the other hand, near the poles you get minimum elevation of the sun in the course of a day, but driving around by car isn’t much fun there either 🕶
