Esempio n. 1
0
        protected async override Task Initialize(ISocket parentSocket)
        {
            this.x = await parentSocket.CreateAnalogIOAsync(SocketPinNumber.Four);

            this.y = await parentSocket.CreateAnalogIOAsync(SocketPinNumber.Five);

            this.input = await parentSocket.CreateDigitalIOAsync(SocketPinNumber.Three);
        }
Esempio n. 2
0
		protected async override Task Initialize(ISocket parentSocket) {
			this.input = await parentSocket.CreateAnalogIOAsync(SocketPinNumber.Three);
		}
Esempio n. 3
0
 protected async override Task Initialize(ISocket parentSocket)
 {
     this.input = await parentSocket.CreateAnalogIOAsync(SocketPinNumber.Five);
 }
Esempio n. 4
0
        protected async override Task Initialize(ISocket parentSocket)
        {
            this.input = await parentSocket.CreateAnalogIOAsync(SocketPinNumber.Three);

            this.enable = await parentSocket.CreateDigitalIOAsync(SocketPinNumber.Six, true);
        }
Esempio n. 5
0
		protected async override Task Initialize(ISocket parentSocket) {
			this.input = await parentSocket.CreateAnalogIOAsync(SocketPinNumber.Three);
			this.enable = await parentSocket.CreateDigitalIOAsync(SocketPinNumber.Six, true);
		}