Skip to content

add unit conversion block#6768

Open
riknoll wants to merge 1 commit intomasterfrom
dev/riknoll/convert-block
Open

add unit conversion block#6768
riknoll wants to merge 1 commit intomasterfrom
dev/riknoll/convert-block

Conversation

@riknoll
Copy link
Copy Markdown
Member

@riknoll riknoll commented Apr 8, 2026

fixes #4510
fixes #6689
fixes #6751

adds a conversion block with three type of conversions:

  • degrees <-> radians
  • fahrenheit <-> celsisus
  • seconds <-> milliseconds

these were the only useful ones i could think of in micro:bit, but perhaps there are more.
@jaustin @Jaqster @abchatra let me know if you have any opinions here

image
image
image

@riknoll riknoll requested a review from a team April 8, 2026 17:31
@Jaqster
Copy link
Copy Markdown
Member

Jaqster commented Apr 8, 2026

Color value conversions?
image

@riknoll
Copy link
Copy Markdown
Member Author

riknoll commented Apr 8, 2026

@Jaqster doesn't really make sense here because the HSV block returns an RGB value

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.

Conversion block Get temperature in Farenheit block Add blocks to convert from degrees to radians and vice versa

3 participants