Example #1
0
 /// <summary>
 ///     Process the interrupt generated by the TSL2561.
 /// </summary>
 private void InterruptPin_Changed(object sender, DigitalInputPortEventArgs e)
 {
     ReadingOutsideThresholdWindow?.Invoke(DateTime.Now);
 }
Example #2
0
 private void _interruptPin_ValueChanged(GpioPin sender, GpioPinValueChangedEventArgs e)
 {
     ReadingOutsideThresholdWindow?.Invoke(DateTime.Now);
 }