All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lejos.hardware.port.SensorPort Maven / Gradle / Ivy

Go to download

leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.

The newest version!
package lejos.hardware.port;

import lejos.hardware.BrickFinder;

/**
 * Basic interface for EV3 sensor ports.
 * @author andy
 *
 */
public interface SensorPort {
    public static final Port S1 = BrickFinder.getDefault().getPort("S1");
    public static final Port S2 = BrickFinder.getDefault().getPort("S2");
    public static final Port S3 = BrickFinder.getDefault().getPort("S3");
    public static final Port S4 = BrickFinder.getDefault().getPort("S4");

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy