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
Describe the bug
Color sensor in default port 3 works in simulator and EV3. Color sensor in port 1 works only in simulator, but not in EV3. In EV3, it reads the reflected light intensity only once. The firmware in EV3 is broken because the sensor red illumination light is blinking with around 0.5 Hz frequency when MakeCode is running. EV3 works properly in Port View,
To Reproduce
Use the following JavaScript code
music.playSoundEffect(sounds.systemDownload)
forever(function () {
brick.showValue("Clr1", sensors.color1.light(LightIntensityMode.Reflected), 2)
brick.showValue("Clr3", sensors.color3.light(LightIntensityMode.Reflected), 4)
})
Download it and observe how the color sensor 1 value is frozen and color sensor 3 value is alive.
Expected behavior
It is expected that color sensor 1 value is changing.
It is expected that color sensor 1 illumination light is solid.
It is expected that color sensor in port 1 works like the color sensor in port 3.
Desktop (please complete the following information):
OS: Windows 10
Browser Chrome and Edge
Version 79.0.3945.88
Additional context
If port 4 is used instead of port 1, there is no problem
The text was updated successfully, but these errors were encountered:
Describe the bug
Color sensor in default port 3 works in simulator and EV3. Color sensor in port 1 works only in simulator, but not in EV3. In EV3, it reads the reflected light intensity only once. The firmware in EV3 is broken because the sensor red illumination light is blinking with around 0.5 Hz frequency when MakeCode is running. EV3 works properly in Port View,
To Reproduce
Use the following JavaScript code
music.playSoundEffect(sounds.systemDownload)
forever(function () {
brick.showValue("Clr1", sensors.color1.light(LightIntensityMode.Reflected), 2)
brick.showValue("Clr3", sensors.color3.light(LightIntensityMode.Reflected), 4)
})
Download it and observe how the color sensor 1 value is frozen and color sensor 3 value is alive.
Expected behavior
It is expected that color sensor 1 value is changing.
It is expected that color sensor 1 illumination light is solid.
It is expected that color sensor in port 1 works like the color sensor in port 3.
Desktop (please complete the following information):
Additional context
If port 4 is used instead of port 1, there is no problem
The text was updated successfully, but these errors were encountered: