Bindings Gpio cf3GpioControl


#1

Hello,

I tried to understand how works gpio library by testing the tuto “cf3GpioControl”.

But it was not working and I noticed 3 incoherences :

  • the command LE_INFO() did not write anything in the log
  • on the mangOH red schematics, the wp Pin7 is not connected, and the gpio7 (pin40) is unreachable (port IoT). So what means the label “le_gpioPin7” mentioned in the bindings section ?
  • on the mangOH red schematics, the wp Pin4 is connected to the UART1, the gpioExpPin4 match with alim VCC1, and the gpio4 from the gpio Expender pin 4 is linked to the RPI port (not to a LED). So what means the label “mangoh_gpioExpPin4” mentioned in the bindings section and aimed to drive a led ?

Finally, I tried to change the pins to use the generic push button (gpio 34 of the module WP7702 pin 100) to control the D410 LED ( gpio 14 of the module WP pin 21) of the mangOH red.

But I’m not able to use them: I have error message “Operation not permitted” when launching the app.
So I’m still wondering how to use pins with gpioService
Can you help me ?

Thank in advance
Regards
Louis