Пример #1
0
            public IndirectedAnalogIO(byte channel, CY8C9560A.Pin pin, ADS7830 ads, CY8C9560A cy8)
            {
                this.ads     = ads;
                this.channel = channel;

                this.cy8 = cy8;
                this.cy8.SetInput(pin);
            }
Пример #2
0
            public IndirectedDigitalIO(CY8C9560A.Pin pin, CY8C9560A cy8)
            {
                this.pin         = pin;
                this.isInterrupt = false;

                this.cy8 = cy8;
                this.cy8.SetOutput(this.pin);
            }
Пример #3
0
 public IndirectedPwmOutput(CY8C9560A.Pin pin, CY8C9560A cy8)
 {
     this.cy8 = cy8;
     this.pin = pin;
 }
Пример #4
0
			public IndirectedPwmOutput(CY8C9560A.Pin pin, CY8C9560A cy8) {
				this.cy8 = cy8;
				this.pin = pin;
			}
Пример #5
0
			public IndirectedDigitalIO(CY8C9560A.Pin pin, CY8C9560A cy8) {
				this.pin = pin;
				this.isInterrupt = false;

				this.cy8 = cy8;
				this.cy8.SetOutput(this.pin);
			}