DSCSAM_DIOOutputByte
This function outputs the specified data to the specified port. The data is 8 bits for ports A and 5 bits for port B.
BYTE DSCSAM_DIOOutputByte(BYTE Port, BYTE Data);
Name
Description
Port
0 = A, 1 = B for Elton, Stevie & Jethro
0 = A, 1 = B, 2 = C for Ziggy
Data
8 bit value to write to the Port 0 and 5 bit value for Port 1
Return Value
Error code or 0.
Last updated
Was this helpful?