arduino-libraries / Servo

Servo Library for Arduino
http://arduino.cc/
GNU Lesser General Public License v2.1
257 stars 263 forks source link

calibrate example for Servo #49

Open noob-master147 opened 4 years ago

noob-master147 commented 4 years ago

Calibrate Example for the Servo Motor. User needs to input the angle to set from the serial Monitor. Many times this situation arises when the user needs to set the servo to say 90 or 0 to fix it in the project. Instead of writing the code over and over again for this, this example will add to the User Experience and feasibility.

Consider this as my contribution to the Portenta Project. I have already given my introduction in the issue tracker at #114 @alranel @agdl

noob-master147 commented 4 years ago

Ok this updated code integrates all the changes you requested also, it will work on both: no line endings as well as Newline in the serial monitor.

per1234 commented 4 years ago

this updated code integrates all the changes you requested

You haven't done the auto format.

it will work on both: no line endings as well as Newline in the serial monitor.

There was no change to the code. You only made the suggested changes to the comments (thanks!).

noob-master147 commented 4 years ago

auto format done 👍 also, the code has been updated, you may check sorry for before😅

noob-master147 commented 4 years ago

thanks, @per1234 for your suggestions. I have implemented fixes for newline and carriage return

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.