The I2C based sensor starts working only if you reconnect it from the port. Or, when starting the program, connect to the port (which was empty).
If there are two i2c sensors, then they both do not work, but when one is reconnected, they start to work.
Used Hitechnic Color Sensor.
The I2C based sensor starts working only if you reconnect it from the port. Or, when starting the program, connect to the port (which was empty). If there are two i2c sensors, then they both do not work, but when one is reconnected, they start to work. Used Hitechnic Color Sensor.
https://github.com/microsoft/pxt-ev3/pull/870
This is due to the introduction of Poller. https://github.com/microsoft/pxt-ev3/pull/870#issuecomment-808906622