Create the project, pick the port
clev3r needs no extension and no files to import. On the EV3, the receiver pretends to be the LEGO infrared sensor (type 33), so you read it with the normal Sensor commands. The first line, folder, sets the folder the program goes into on the EV3.
- Install clev3r (we tested version v1.7.1.0).
- Turn on the EV3 first. Then plug the receiver into the port you pick below.
- Make a new program and write the lines below.
- Press "Compile and download". On the EV3, open the file menu and run it from the folder that starts with
MBC_.
The first number in the program (for example Sensor.SetMode(1, 0)) is the port. 1~4 are the EV3 ports 1~4.