Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color sensor ambient and reflected colors don't poll for changes #101

Closed
samelhusseini opened this issue Dec 17, 2017 · 0 comments
Closed
Labels

Comments

@samelhusseini
Copy link
Contributor

samelhusseini commented Dec 17, 2017

Looking at the code, we only query for changes of the color sensor when the mode is set to Color, and not for AmbientLightIntensity or ReflectedLightIntensity.

@cait1inhennessy have you verified that the ambient and reflected colors work on the physical device? If so, I'm struggling to explain why..

see: https://github.com/Microsoft/pxt-ev3/blob/master/libs/color-sensor/color.ts#L82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant