I'm trying to create a USB interface to an FTDI FT245R device. I have the Java Object library working with some methods of the device but one has me stumped. The device API is
9.20 setBitMode
Definition:
public boolean setBitMode(byte mask, byte bitMode)
using result = FTdev.RunMethodJO("setBitMode", Array(0,0))
gives the error java.lang.RuntimeException: Method: setBitMode not matched.
Seems it should be straightforward passing two values but alas...
Thanks in advance for any help. Ken
9.20 setBitMode
Definition:
public boolean setBitMode(byte mask, byte bitMode)
using result = FTdev.RunMethodJO("setBitMode", Array(0,0))
gives the error java.lang.RuntimeException: Method: setBitMode not matched.
Seems it should be straightforward passing two values but alas...
Thanks in advance for any help. Ken