bool DigitalInGet ( RSIMotorGeneralIo  bitNumber  ) 

Description:
DigitalInGet reads the state of a digital input bit.
Parameters:
bitNumber A RSIMotorGeneralIo value.
Returns:
(bool) State of the input.
Sample Code:
  if(axis->DigitalInGet(RSIMotorGeneralIo0) == true)
  {
    printf("Motor Bit 0 (Input) is ON \n");
  }
See also:
DigitalOutSet