ModbusMaster
ModbusMaster copied to clipboard
Create Own Timeout
Added the ability to change the timeout from the default of 2000 msec.
ku16MBResponseTimeout was renamed to ku16MBDefaultTimeout. The private variable _u16ResponseTimeout was created, along with getResponseTimeout() and setResponseTimeout() methods.
Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves; include Fixes #xxx or Closes #xxx (where xxx is issue number)]
Check List
General
- [ ] Code follows coding style defined in STYLE.md
- [ ] Doxygen comments are included inline with code
- [ ] No unnecessary whitespace; check with
git diff --checkbefore committing.
The following have been modified to reflect new features, if warranted
- [ ] README.md
- [ ] keywords.txt (use tabs as whitespace separators)
- [ ] library.properties
- [ ] examples/ - update or create new ones, as warranted
The following have NOT been modified
- [ ] doc/ - will be updated upon versioned release
- [ ] .ruby-gemset
- [ ] .ruby-version
- [ ] CHANGELOG.md - will be updated upon versioned release (HISTORY.md is deprecated)
- [ ] Gemfile
- [ ] LICENSE
- [ ] VERSION - will be updated upon versioned release
Very important feature which should be present already. Great work.
useful change, thanks