private void OnPinChanged(PCA9535 sender, PCA9535.PinChangedEventArgs e) { if (e.Pin == this.pin) this.OnValueChanged(e.NewState); }
public IndirectedDigitalIO(int channel, PCA9535 pca) { this.pin = channel; this.gpio = pca; this.driveMode = GpioPinDriveMode.Input; }