arduino-libraries / Servo

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

Added-missing-examples-of-Servo-library #52

Open Engineer1999 opened 4 years ago

Engineer1999 commented 4 years ago

This pull request is in answer to the issue #51 . I have added 2 examples which includes below-mentioned methods. -> servo.writeMicroseconds() -> servo.read() -> servo.attached() -> servo.detach() Examples have been tested on tinkercad and work as expected.

Engineer1999 commented 4 years ago

Thank you for your valuable feedback. I will make sure to follow your suggestions from the next pull requests. Also, @per1234 should I make a new pull request with modification as per your suggestions?

per1234 commented 4 years ago

No, please don't make a new pull request. Just keep working on this one. Any commits you make to the added-library-examples-of-servo branch of your fork will automatically be added to this pull request.

Engineer1999 commented 4 years ago

Sure. Thank you very much.

Engineer1999 commented 4 years ago

@per1234 I have made a commit in the added-library-examples-of-servo branch with suggested changes. Thank you for your guidance.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.