maliwan
New Member
Hey friends!
I recently bought a USB-IO adapter. It is GPIO-24, produced by Diolan.
I'm interested to know how to set output values for the pins.
The adapter has **broken link removed** which, as I believe, sets output values for specified pins. I send this command with all necessary configuration settings.
Then I send **broken link removed** which returns the pin settings, specified by the former command. That’s ok.
HOWEVER, there is another command – **broken link removed** which returns, among other things, the values on the pins.
The problem is as follows: GPIO_GET_OUT_VAL and GPIO_GET_VAL commands sometimes return different values for the same pins!!!
How can it be explained???
The device datasheet is visible here: USB-IO Interface Adapter - GPIO-24
thnx
I recently bought a USB-IO adapter. It is GPIO-24, produced by Diolan.
I'm interested to know how to set output values for the pins.
The adapter has **broken link removed** which, as I believe, sets output values for specified pins. I send this command with all necessary configuration settings.
Then I send **broken link removed** which returns the pin settings, specified by the former command. That’s ok.
HOWEVER, there is another command – **broken link removed** which returns, among other things, the values on the pins.
The problem is as follows: GPIO_GET_OUT_VAL and GPIO_GET_VAL commands sometimes return different values for the same pins!!!
How can it be explained???
The device datasheet is visible here: USB-IO Interface Adapter - GPIO-24
thnx