/// <summary>
/// Clear the interrupt flag.
/// Se Command Register on page 13 of the datasheet.
/// </summary>
/// <remarks>
/// According to the datasheet, writing a 1 into bit 6 of the command
/// register will clear any pending interrupts.
/// </remarks>
public void ClearInterrupt()
{
_tsl2561.WriteByte(ClearInterruptBit);
if (_interruptPin != null)
{
_interruptPin.ClearInterrupt();
}
}