<form method="get" action="dio.asp" name="">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="16">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="2">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="255">
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
<input type="submit" name="Submit" value="Set Outputs">
</form>
There are brief explanations of "Set Outputs" action
Start
Write 16 // DIO I2C address
Write 2 // PORTB UNIT
Write 255 // PORTB = 255
STOP
....
<form method="get" action="dio.asp" name="">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="16">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="2">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="0">
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
<input type="submit" name="Submit" value="Clear Outputs">
</form>
There are brief explanations of "Clear Outputs" action
Start
Write 16 // DIO I2C address
Write 2 // PORTB UNIT
Write 0 // PORTB = 0
STOP
Please download DIO technical manual from
www.bipom.comAlso, please look at examples of 8051/52 development system under
C:\\bipom\\devtools\\MicroC\\Examples\\8051\\tiny\\IO_Expander
to obtain more information on UNITS of DIO board