Hello All,

Can somebody kindly tell me what are the equivalent classes/methods 
in Java for outportb/inportb functions in C?

Here is the C function:

void main()
{
  unsigned short port=888;
  int i;

  for(i=0; i<256; ++i)
    outportb(port, i);

}

This is at the device level and not the host level.

Also, is the class included in J2ME distributions?

Thanks,
HY


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to