//********************************************* /// <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); }
//*************************** public ReadSensor() { SolSensor = new BasePin(solSensorPin, GpioPinDriveMode.Input); OrtaSensor = new BasePin(ortaSensorPin, GpioPinDriveMode.Input); SagSensor = new BasePin(sagSensorPin, GpioPinDriveMode.Input); }