microsoft / microsoft/pxt-microbit

Radio received packet block has a value input that doesn't make sense

Open
#7,091 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Might be missing something here but you can use this block from Radio:

Image

and then drop other value blocks over what seems to be the "signal strength" value input, but that doesn't make any sense.

Image

It feels like the choice of signal strength, time, serial number should just be a field, like x/y/z on the acceleration block.

No obvious negative consequences, we just see zero values in the case above.

Shared project: https://makecode.microbit.org/_fCMPxaW4rgmz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the shared MakeCode project and reproducing the Radio received packet block behavior in the blocks editor. Inspect the Radio block definition and compare its signal strength, time, and serial number inputs with the acceleration block's x/y/z fields; done means those choices are fields rather than accepting arbitrary value blocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.