-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Unacceptable defaults that destroy servos #7023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0827917
The default timings were chosen vastly outside specification. On COTS…
dok-net a2a1e0d
Change timing limits to safe values. With previous default timings an…
dok-net 86caa07
Review action: revert changes to hard boundary for min/max duty cycle…
dok-net cc26161
A Servo on each available ESP8266 GPIO (D0-D8), no observed interfere…
dok-net e7695a9
Remove possible jerk due to force-cancelling duty cycle.
dok-net 4c4906f
Overload attach: can specify initial angle for servo, too.
dok-net c551dc2
Stricter checks for configured, and default, bounded timings.
dok-net ac0f239
Missed the min/max in a comment.
dok-net ef33c5f
Default microsecond lower bound of 1000 causes confusing behavior - 2…
dok-net 66933c1
Comment rationale for changed defaults of min/max pulse widths.
dok-net 2f1e390
Merge branch 'master' into servo
earlephilhower File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Comment rationale for changed defaults of min/max pulse widths.
Comment rationale for changed defaults of min/max pulse widths.
- Loading branch information
commit 66933c1709e9a42c5a4b49b42c68be690e60011c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tech-TX Have you tried either of these two overloads of
attach()
?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dok-net I pulled it this morning, Dirk, but I missed the attach() parameters. 😉
I really need to add a bunch of *.rst or *.md help files or additions for the stuff in the libraries, especially where things differ from the original Arduino libraries. That would help minimize confusion for our Gentle Users (and me!). The current info at ReadTheDocs is woefully incomplete for the servo library. Here's the full quote:
I didn't know we had 24 I/O pins that could drive servos. You learn something every day... and now I need to hunt down the 13 other (missing) GPIO pins. 😄
Here's the info on the Arduino library: https://www.arduino.cc/en/Reference/ServoAttach
so the 8266 library has an INT VALUE option for the initial starting degrees that the older library doesn't. Also, the max servos went from 12 to 9 with this PR, so we should mention that somewhere.
Your PR is working OK with my test bed and servos.