-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add mem{8,16,32} to machine. #35
Conversation
@microbit-carlos, would be great if you could review. Is there some better option for the original code on the linked issue? |
Preview build of the editor with these stubs building now. Will be at: |
Not sure I understand the question, better than what code? Accessing random memory using |
@microbit-carlos, from what I can read from the source in the screenshot it seems like it's not randomly chosen, but instead to set pin0 into high drive mode. Image is on microbit-foundation/python-editor-v3#723 (comment) |
Right, sorry, I didn't mean "random" in the literal sense. But I guess that does answer the question about what you were referring to when you said "original code". That is the only way right now to configure peripherals in MicroPython to something different than what CODAL does (using Python code). So that's why they accessory library has done that. Nevertheless, even if there was a better way to do that, this PR is still required to correctly parse the |
I guess is similar to |
I nearly did that, I expected to find text I could reuse on |
Raised #37 |
microbit-foundation/python-editor-v3#723