Repository navigation
Sound left and right buzzers from image side - #5
Merged
Merged
Conversation
Packet version 2 puts left and right in an explicit bitmask, rejects version 1, and keeps the not-ready double blip separate from objects on both sides. Co-authored-by: pschmeln <pschmeln@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Pull request 4 is already merged. This continues from current
main.Two blue Grove buzzers replace the old four-role outputs. D2 is the left buzzer and D4 is the right buzzer. A box in the center half of the rear-camera picture sounds the buzzer on that image side. Both sides can sound together. This is not a turn command.
Packet version is now 2. Byte 2 is an explicit side bitmask. A version 1 packet is rejected and does not sound a side. The website and the sketch both have to be updated.
Pins
The not-ready double blip on both buzzers means the camera or model is down. It does not mean objects are on both sides. Quiet buzzers are not an all-clear.
Checks on commit c118bc0
cane logic tests passedand all 7 web tests. JavaScript packets matched the C encoder.** BUILD SUCCEEDED **. That build is not installable.What you do
Reflash
prototype/firmware/uno_r4_wifi/uno_r4_wifi.ino, reload the Bluefy page after this is published, and followdocs/WEB_DEMO.md. Confirm the Grove Buzzer v1.2 SIG pin is a logic input before powering it. Do not connect a bare motor to a GPIO.