# Push button servo control

**URL:** <https://forum.xod.io/t/push-button-servo-control/3565>\
**Category:** Uncategorized\
**Created:** [February 27, 2020, 3:29pm UTC](https://forum.xod.io/t/push-button-servo-control/3565 "2020-02-27T15:29:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harry-jeffrey](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@harry-jeffrey](https://forum.xod.io/u/harry-jeffrey)\
**Post date:** [February 27, 2020, 3:29pm UTC](https://forum.xod.io/t/push-button-servo-control/3565/1 "2020-02-27T15:29:55Z")

</div>

Hi i #m new to XOD and arduino and would like some help to move a servo with a button  
,all i need is to have the servo to set angel when the button is closed and return to zero  
when open Regard Harry

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 27, 2020, 4:30pm UTC](https://forum.xod.io/t/push-button-servo-control/3565/2 "2020-02-27T16:30:07Z")

</div>

For such a simple program, I would suggest you give it a try yourself, then share what you have with the group to ask for help.

To get you started, I would suggest using the nodes: button, if-else, and servo.

If you have no idea at all how to get started, I suggest going through the built-in tutorial project that comes up when you first start XOD. There is also a lot of helpful information here: [https://xod.io/docs/](https://xod.io/docs/) The case-studies link will walk you through a bunch of sample programs.
