This library provides a driver for Matrix Motion Sensor, see here for further information!
- Set Motor to 100% speed
Matrix.motor(M_PORT.M1, 100);
Matrix.motor(M_PORT.M2, 100);
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-MatrixMotion/ and import
MIT
- for PXT/microbit
MatrixMotion=github:Matrix-Robotics/pxt-MatrixMotion