Create the project and pick the port
clev3r needs no extension and no files: on the EV3 the gyro acts as a stock LEGO gyro (type 32), so you read it with the Sensor commands. The first line, folder, picks the folder on the EV3.
- Install clev3r (this site was tested with v1.7.1.0).
- Turn on the EV3 first, then plug the gyro into the port below (keep the robot still then).
- Create a program and write these lines.
- Press "Compile and download", then run it from the folder starting with
MBC_in the EV3 file menu.
The first number in the program (for example Sensor.SetMode(1, 0)) is the port; 1 to 4 are the EV3 ports 1 to 4.