<b><font color="#ff0000">
{start code}
PUBLIC void pcf8574_set_Bit( Pcf8574 xdata *Object, Nat8 Pin, Bool Active )
{
    ASSERT( ( 0 <= Pin )
          &&( Pin <= 7 )
          );

    ASSERT( ( Active == TRUE )
          ||( Active == FALSE )
          );

    if ( Active )
    {
        Object->Buffer |= _crol_( 0x01, Pin );
    }
    else
    {
        Object->Buffer &= ~_crol_( 0x01, Pin );
    }

    WriteI2c( Object );
}
{end code}
</font color></b>