Exemple #1
0
        //*********************************************

        /// <summary>
        /// pinlerin ilklendiği yer
        /// </summary>
        public Movement()
        {
            SolPlus  = new BasePin(solPlusPin, GpioPinDriveMode.Output);
            SolMinus = new BasePin(solMinusPin, GpioPinDriveMode.Output);

            SagPlus  = new BasePin(sagPlusPin, GpioPinDriveMode.Output);
            SagMinus = new BasePin(sagMinusPin, GpioPinDriveMode.Output);
        }
Exemple #2
0
        //***************************

        public ReadSensor()
        {
            SolSensor  = new BasePin(solSensorPin, GpioPinDriveMode.Input);
            OrtaSensor = new BasePin(ortaSensorPin, GpioPinDriveMode.Input);
            SagSensor  = new BasePin(sagSensorPin, GpioPinDriveMode.Input);
        }