Skip to content

Simulator doesn't display acceleration x, y, z values #6595

@martinwork

Description

@martinwork

Describe the bug

Arising from support ticket https://support.microbit.org/helpdesk/tickets/92263 (private)

The simulator doesn't display acceleration x, y, z values

In MakeCode v7, the simulator displayed the acceleration values.

I notice now that even in v7, they don't fully show until I mouse over the simulator, and they don't show after the simulator is stopped and restarted, whether by the buttons, by editing the program, or by changing browser tabs.

The values no longer show at all in live or beta.

The same problem occurs in the shared project page simulator.

The project below was created in v7.

To Reproduce
Steps to reproduce the behavior:

  1. Load https://makecode.microbit.org/_eTm5j0A3FYxC
  2. See error

Expected behavior

All values display as soon as the program runs and after the simulator is restarted

Screenshots

v7 - only ax shows to begin with.

Image

v7 - all values show after mouse over, and until the simulator is restarted

Image

micro:bit version (please complete the following information):

You can find this information in the lower right hand corner of the back of micro:bit (the side that says BBC micro:bit).

  • Which version of the micro:bit is this relevant to [ EG V1.3, V1.5, V2.0, or specify it's not hardware related ]

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 140

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions