microsoft / pxt-ev3

Microsoft MakeCode editor for the LEGO MINDSTORMS EV3 Brick
https://makecode.mindstorms.com/
Other
53 stars 39 forks source link

NXT Ultrasonic Unsupported #842

Open acesTech opened 5 years ago

acesTech commented 5 years ago

Ultrasonic block only reads the EV3 sensor and not the NXT. Have tried multiple NXT sensors, different bricks, cables, and ports with no success. Additionally, I would like to add support for 3rd party sensors but I can't find any documentation on how to create the necessary extensions.

pelikhan commented 5 years ago

See example of I2c sensor at https://github.com/maximmasterr/pxt-ev3-hiTechnicColorSensor

objer commented 4 years ago

I tried pxt-ev3-hiTechnicColorSensor with "sensors.hitechnicColor1.getColor()" for sensor in port 1. But nothing return. Is it work?

THEb0nny commented 8 months ago

Does the nxt ultrasonic sensor use i2c protocol?