Interop GpioProvider changes parameters

It seems that signature of gpioProvider->AcquirePin() function has changed: it requires now a controller number and a pin number number.

What exactly are now these two parameters: pin number is same as before ? What is it controller number and where can we found it ?

I know doc is on the task list ! :blush: But it could be very useful for some test of Interop.

We are holding on docs waiting for 1.0 since the API is changing. The good news is that this coming release should be near final.

3 Likes

Controller for GPIO will almost always be zero. For things like SPI and I2C, it’s the bus number. Pin number is the same as before.

2 Likes

Good news Indeed !

@John_Brochue Thanks for informations.