You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When moving a program that uses the radio 'gear' to add signal strength into the program and then upgrading it to v1/alpha the sim crashes on first use of radio with error:
Program Error: pxsim.radio.receivedBuffer is not a function
verify that the simulator behaves as expected (press button A once to bring in the second micro:bit, then A again to send a message over radio)
Download your program to two micro:bits and verify that when pressing button A the first micro:bit displays 'x' and then a signal strength value
Move to the alpha editor, import/open the same program
Use the simulator by pressing button A twice.
The second time you press button A the sim crashes with
Program Error: pxsim.radio.receivedBuffer is not a function
Download the program to two micro:bits
When you press A on a real micro:bit, the second micro:bit only displays '0'
Expected behavior
The simulator and micro:bit behaves as they did in v0
Screenshots
Desktop (please complete the following information):
Windows 10 Chrome 66
Additional context
This also fails when loading a hex file from v0 to v1 and the user is not warned about any possible disruption.
If you want I can also file separate issues for things like the fact the new block can't be selected in alpha, but I though probably this would be enough for now?
The text was updated successfully, but these errors were encountered:
abchatra
changed the title
Alpha: using a radio program involving signal strength in Alpha crashes sim/fails on micro:bit
Using a radio program involving signal strength in Alpha crashes sim/fails on micro:bit
Jul 6, 2018
Describe the bug
When moving a program that uses the radio 'gear' to add signal strength into the program and then upgrading it to v1/alpha the sim crashes on first use of radio with error:
Program Error: pxsim.radio.receivedBuffer is not a function
To Reproduce
Steps to reproduce the behavior:
Program Error: pxsim.radio.receivedBuffer is not a function
Expected behavior
The simulator and micro:bit behaves as they did in v0
Screenshots
Desktop (please complete the following information):
Windows 10 Chrome 66
Additional context
This also fails when loading a hex file from v0 to v1 and the user is not warned about any possible disruption.
If you want I can also file separate issues for things like the fact the new block can't be selected in alpha, but I though probably this would be enough for now?
The text was updated successfully, but these errors were encountered: