User`s manual

8.8.3 Programming :
DiVal = inportb(BASE); /* for all 6 channels */
Note: 1. The default value of BASE is 1.
2. It is not recommended to change the value of BASE from 0 to another value.
3. DiVal=0x00 all 6-channel are Low
DiVal=0x01 Chennel_0 is High, the other channels are Low
DiVal=0x3F all 6-channel are High
outportb(BASE, DoVal); /* for all 7 channels */
Note: 1. The default value of BASE is 0.
2. It is not recommended to change the value of BASE from 0 to another value.
3. DoVal=0x00 turn all 7-channel OFF
DoVal=0x01 turn chennel_0 ON, the other channels OFF
DoVal=0x7F turn all 7-channel ON
I/O Expansion Bus for 7188X/7188E User’s Manual, Jun/2004 v1.4, 7PH-000-14---59