Skip to content

Update of Arduino Servo library for SAMD21 and SAMD51 #292

@agrommek

Description

@agrommek

Hi everybody,

I added some code to the Servo library for better support of SAMD21 and SAMD51 board. The library now supports 12 servos per timer and up to 24 servos total, for both SAMD21 and SAMD51. Tested on Feather M0 and Feather M4. I would like to create a pull request for that, but I am not sure to which repository.

My patch would resolve an issue at the repository for the Arduino Servo library, opened by @Silvanosky in 2019. There is already a long-pending-but-not-yet-merged pull request by @ladyada which fixes part of the problem. Because the pull request was not merged, Adafruit duplicated the Servo library here at Adafruit's fork of the ArduinoCore-samd repository with the modifications. I didn't realize at first that there was an open issue upstream, so I based my code off of the version of the Servo library in Adafruit's ArduinoCore-samd repository.

Now, what would be the best way to get the changed code into the upstream Ardino Servo library?

  • Would Adafruit care to accept a pull requenst to the local version of the Servo library in the ArduinoCore-samd repository and update the pull request upstream?
  • Or should I directly make a pull request upstream, with Adafruit's pull reqeust being rejected?

Before I forget it, here is the link to my code. I would be grateful for feedback. :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions