Skip to content

Fix VCC voltage comments in examples - remove incorrect variant references#19

Merged
matthias-bs merged 4 commits intomainfrom
copilot/fix-vcc-voltage-comments
Feb 9, 2026
Merged

Fix VCC voltage comments in examples - remove incorrect variant references#19
matthias-bs merged 4 commits intomainfrom
copilot/fix-vcc-voltage-comments

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Two example files incorrectly implied sensor variants requiring either 3.3V or 5V. The DYP-R01CW operates across the continuous range 3.3-5.0V with no variants.

Changes

examples/Basic/Basic.ino

  • VCC to 5V (or 3.3V depending on sensor version)VCC to supply voltage (3.3...5.0V)

examples/DistanceOffset/DistanceOffset.ino

  • VCC to 5V (or 3.3V depending on sensor version)VCC to supply voltage (3.3...5.0V)

All other example files already use the correct voltage range notation. README.md hardware specifications remain unchanged.

Original prompt

Please fix the comments regarding VCC voltage in the examples: There are no variants, the permitted voltage range is 3.3...5.0V


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: matthias-bs <83612361+matthias-bs@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix comments regarding VCC voltage range Fix VCC voltage comments - remove incorrect variant references Feb 9, 2026
Copilot AI requested a review from matthias-bs February 9, 2026 11:08
Co-authored-by: matthias-bs <83612361+matthias-bs@users.noreply.github.com>
Copilot AI changed the title Fix VCC voltage comments - remove incorrect variant references Fix VCC voltage documentation - clarify continuous range, remove variant references Feb 9, 2026
Co-authored-by: matthias-bs <83612361+matthias-bs@users.noreply.github.com>
Copilot AI changed the title Fix VCC voltage documentation - clarify continuous range, remove variant references Fix VCC voltage comments in examples - remove incorrect variant references Feb 9, 2026
@matthias-bs matthias-bs marked this pull request as ready for review February 9, 2026 11:19
@matthias-bs matthias-bs merged commit cf88627 into main Feb 9, 2026
13 checks passed
@matthias-bs matthias-bs deleted the copilot/fix-vcc-voltage-comments branch February 9, 2026 11:38
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.

2 participants