This library provides a driver for Matrix Laser Sensor, see here for further information!
- Get Distance
serial.writeNumber(MxLaser.readDistance())
This repository can be added as an extension in MakeCode.
- Open Microsoft MakeCode for micro:bit
- Click on New Project
- Click on Extensions under the gearwheel menu
- Search for https://github.com/Matrix-Robotics/pxt-MatrixLaser/ and import
MIT
- for PXT/microbit
MatrixColor=github:Matrix-Robotics/pxt-MatrixLaser