# Help me to combine these codes and the servo motor to return to its original position

**URL:** <https://forum.arduino.cc/t/help-me-to-combine-these-codes-and-the-servo-motor-to-return-to-its-original-position/1068691>\
**Category:** Programming\
**Created:** [December 23, 2022, 9:38am UTC](https://forum.arduino.cc/t/help-me-to-combine-these-codes-and-the-servo-motor-to-return-to-its-original-position/1068691 "2022-12-23T09:38:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [December 23, 2022, 9:52am UTC](https://forum.arduino.cc/t/help-me-to-combine-these-codes-and-the-servo-motor-to-return-to-its-original-position/1068691/2 "2022-12-23T09:52:52Z")

</div>

Welcome to the forum

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'  
  
Use **code tags** (the \</\> icon above the compose window)&nbsp;to make it easier to read and copy for examination

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966):
>
> See also [FAQ - Arduino Forum](https://forum.arduino.cc/faq) for general rules on forum behaviour and etiquette. Hello, Welcome to the Arduino Forum. This guide explains how to get the best out of this forum. Please read and follow the instructions below. Being new here you might think this is having rules for the sake of rules, but that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is fru…

What should the combined sketch do ?

Please post your best attempt at combining the sketches and explain any problems

---

_[View the full topic](https://forum.arduino.cc/t/help-me-to-combine-these-codes-and-the-servo-motor-to-return-to-its-original-position/1068691)._
