Skip to content

Show LEDs on hardware does not match the old behavior #2908

Closed
@riknoll

Description

@riknoll

In the latest beta, calling showLeds clears the screen after the interval has passed. The old behavior was to leave the last displayed image up on the screen.

Here's a MakeCode program that demonstrates it:

input.onButtonPressed(Button.A, function() {
    basic.showLeds(`
    . . . . .
    . # . # .
    . . . . .
    # . . . #
    . # # # .
    `)
})

This only shows up on the hardware, not in the sim

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions