pxt-microbit icon indicating copy to clipboard operation
pxt-microbit copied to clipboard

Opportunity to simplify Radio blocks?

Open Jaqster opened this issue 1 year ago • 1 comments

Observed in a recent Teacher Training workshop: the Radio blocks all look the same – saw lots of mistakes using Radio Receive Number vs. String. Do we have to have separate blocks for this? Can we infer data type? Can we use the Radio Broadcast blocks?

image image

Jaqster avatar Jul 11 '24 16:07 Jaqster

we can't infer the type unfortunately since we're statically typed. the argument would have to be type string | number which you can't actually do anything with.

riknoll avatar Aug 29 '24 21:08 riknoll

Can't fix.

abchatra avatar May 16 '25 21:05 abchatra