Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can not download program by undefined 'toString' #2

Closed
tmdoi opened this issue Dec 27, 2022 · 3 comments
Closed

I can not download program by undefined 'toString' #2

tmdoi opened this issue Dec 27, 2022 · 3 comments

Comments

@tmdoi
Copy link

tmdoi commented Dec 27, 2022

Hello!

I am Tomoharu Doi on Osaka Metropolitan University College of Technology.

I can not comple your rotate expanded block program as follows:
https://makecode.microbit.org/_Y37ERDiR70M4

I hope some information about this problem.

@bsiever
Copy link
Owner

bsiever commented Dec 27, 2022

Hi @tmdoi

Here's an example program that should work for both micro:bit v1 and v2: https://makecode.microbit.org/_RRxVi0RP5fsR. You can use it for any work you're doing now. Just edit it and add your work.

The approach for micro:bit v2 support used in that example is an awkward hack. Martin at the Micro:bit Education Foundation provided a fix that makes my awkward hack unnecessary (described here: lancaster-university/codal-microbit-v2#227). Martin's fix is in recent versions of the Micro:bit v2 runtime (CODAL after 0.2.40), which is not currently used in MakeCode. As soon as MakeCode is updated to use a more recent version of CODAL, the version of the extension that is included from the "Extension" feature of MakeCode should work. (And v2 support works better!)

I'm closing this issue because it isn't actually an error in my work. It's happening because the extension was added before Microsoft updated to a newer version of CODAL. Neither of these are under my control and they are not actually flaws with the extension itself. They are problems with timing of updates to MakeCode.

@bsiever bsiever closed this as completed Dec 27, 2022
@tmdoi
Copy link
Author

tmdoi commented Jan 1, 2023

Thank you for your comment and detail information.
I can rotate my mico:bit!

Tomoharu Doi

@bsiever
Copy link
Owner

bsiever commented Jan 1, 2023

@tmdoi Great! I'm glad it works!

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

No branches or pull requests

2 participants