// set the digital output register (PIN 0 and PIN 1 to HIGH value)
nRC = CANWriteDigital( hHandle, nOutputs );
// read all input and output registers
nRC = CANReadDigital( hHandle, &nInputs, &nOutputs );
CANCloseDevice(hHandle);
}
return 0;
}
Siehe auch
CANWriteDigital
CAN API Funktionen
35
© 2007-2015 Analytica GmbH