Skip to content
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

[P013] Add setting for trigger-width and Combined mode #4442

Merged

Conversation

tonhuisman
Copy link
Contributor

@tonhuisman tonhuisman commented Dec 29, 2022

Resolves #3857
Replaces #3157

Features:

  • Add a setting to configure the trigger-width for starting a measurement. Range 10..20 usec. Defaults to 10 (the current fixed width).
  • Add a setting to optionally disable repeating the last value event when using Mode = State. Removed/inhibited the added setting, but allow an Interval of 0, effectively suppressing any events.
  • Add Combined mode, as started in [P013_HCSR04] Add COMBINED mode #3157, also adding the missing bits.

NB: The added features are not available in the 1M and Minimal builds for .bin size reasons.

TODO:

  • Update/optimize plugin source and memory use
  • Update NewPing library, and include feature there also
  • Update documentation

@tonhuisman tonhuisman changed the title [P013] Add setting for trigger-width [P013] Add setting for trigger-width and Combined mode Jan 28, 2023
@TD-er TD-er merged commit d45e248 into letscontrolit:mega Mar 29, 2023
@tonhuisman tonhuisman deleted the feature/P013-add-setting-for-trigger-width branch March 29, 2023 20:18
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.

Increasing the trigger for SR04M
2 participants