Skip to content

Refactor, rework, reformat, add motorsSet(), bump version to 0.2.0.#4

Open
pieniacy wants to merge 1 commit intoJoaoLopesF:masterfrom
pieniacy:pieniacy_PR
Open

Refactor, rework, reformat, add motorsSet(), bump version to 0.2.0.#4
pieniacy wants to merge 1 commit intoJoaoLopesF:masterfrom
pieniacy:pieniacy_PR

Conversation

@pieniacy
Copy link
Copy Markdown

Hi, I have adjusted and improved the library primarily for my own use, but I thought it might be useful to everybody.

This preserves full backwards compatibility with the previous version.

Fixed:

  • Annoying debug prints
  • Confusing frequency management, inability to set frequency
  • A lot of code copypasting
  • Inconsistent indentation and coding style

Added:

  • Ability to set freqency with attachMotors()
  • Function motorsSet() to arbitrarily set both motors

This commit preserves full backwards compatibility with the previous version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant