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

'catch event' block does not work. #6

Closed
yokobond opened this issue Aug 24, 2020 · 2 comments
Closed

'catch event' block does not work. #6

yokobond opened this issue Aug 24, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@yokobond
Copy link
Owner

yokobond commented Aug 24, 2020

Describe the bug
'catch event (pulse/edge) on (pin)' does not work.

To Reproduce

  1. Add microbit-more extension
  2. Connect micro:bit
  3. Click 'catch event (edge) on (0)' block
  4. Construct code 'when catch (fall) at pin(0)' then 'start sound (meaw)'
  5. Touch P0 to GND, but doesn't start the sound.

Configuration

  • pxt-scratch-microbit-more version: 0.4.2
  • scratch-microbit-more version: 0.4.2
  • makecode.microbit.org version: 3.0.17
  • Microsoft MakeCode version: 6.0.18
  • microbit runtime version: v2.2.0-rc6
@yokobond
Copy link
Owner Author

Pin event numbers was changed after microbit-dal v2.2.0-rc6.
Align MICROBIT_PIN_EVENT_ON_* with codal · lancaster-university/microbit-dal@2443beb lancaster-university/microbit-dal@2443beb

@yokobond
Copy link
Owner Author

Fixed at commit 06e305a

@yokobond yokobond added the bug Something isn't working label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant