microsoft / pxt-adafruit

Microsoft MakeCode editor for Adafruit Circuit Playground Express
https://makecode.adafruit.com
Other
81 stars 77 forks source link

LED brightness in simulation not very distinct #1075

Open chatelao opened 5 years ago

chatelao commented 5 years ago

Describe the bug The brightness is not disblayed correct in simulation if RGB values are entered.

To Reproduce Steps to reproduce the behavior:

input.buttonA.onEvent(ButtonEvent.Click, function () {
    light.setAll(0x100000)
    pause(500)
    light.setAll(0x8f0000)
    pause(500)
    light.setAll(0xff0000)
    pause(500)
})

Expected behavior The difference on the screen should be more extrem. Maybe showin only half of the LED ligth.