I’m having difficulties understanding how to use these pins. I can set them to make them inputs and outputs. I can also set each output pin to a 1 or 0. What I’m struggling with is how to read in from the input pins.
Thank you for your help. :D
The way to get the GPIO information from the VH device is to use the IVonHippelModuleControl interface, and getStatus() method. This returns an integer with the status of the GPIO pins encoded.
The encoding format can be found here:
I'll get back to you about specifically which bits in the integer are the GPIO pin status bits.