Esempio n. 1
0
        public static int Gyroscope()
        {
            MonoBrickFirmware.Sensors.EV3GyroSensor Gyroskoopje = new MonoBrickFirmware.Sensors.EV3GyroSensor(MonoBrickFirmware.Sensors.SensorPort.In2);
            int graden = Gyroskoopje.Read();

            LcdConsole.WriteLine("Graden: " + graden);
            return(graden);
        }