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

"Pin is touched" triggers always, program crashes #6

Open
fabianhugo opened this issue Apr 23, 2024 · 0 comments
Open

"Pin is touched" triggers always, program crashes #6

fabianhugo opened this issue Apr 23, 2024 · 0 comments

Comments

@fabianhugo
Copy link

This project is amazing, thank you very much!
I was experimenting with the micro-bit more editor and noticed problems the "pin touched" blocks. For example the "When pin <P0/P1/P2> is touched" block triggers always when pins despite the logo (P0-P2) are used, and the program crashes with a 070 error. I used a hex-file generated by the current microbit.makecode.org and the pxt microbit more extension. The crashes don't come up when only the Logo pin is used.
The following video shows the behavior.

scratch070error.mp4

Update:

We found out, that the problem with the crashes does not appear, when the Hex file is generated by Makecode in the pxt-microbit version 5. Therefore I assume that the problem is within this repo and i moved the issue here.

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

1 participant