# Problem controlling Pin 15 on Raspberry Pi Connector

**URL:** <https://mangoh.discourse.group/t/problem-controlling-pin-15-on-raspberry-pi-connector/861>\
**Category:** mangOH Red\
**Created:** [October 31, 2017, 10:22pm UTC](https://mangoh.discourse.group/t/problem-controlling-pin-15-on-raspberry-pi-connector/861 "2017-10-31T22:22:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spmaurer](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@spmaurer](https://mangoh.discourse.group/u/spmaurer)\
**Post date:** [October 31, 2017, 10:22pm UTC](https://mangoh.discourse.group/t/problem-controlling-pin-15-on-raspberry-pi-connector/861/1 "2017-10-31T22:22:17Z")

</div>

I’m trying to control Pin 15 on Raspberry Pi Connector. The schematic shows it as WP\_GPIO\_8\_lvl which goes to GPIO35 on the CP3 module. The bindings section in the .adef file is as follows:  
**bindings:**  
**{**  
\*\* ledtest4.ledtest4Component.mangoh\_ledGpio -\> gpioService.le\_gpioPin35\*\*  
**}**

The program compiles fine but when I run it nothing happens and I get the following message:  
**Missing binding: ledtest4.ledtest4Component.mangoh\_ledGpio -\> .le\_gpioPin35**

The program works fine when I try to control Pin 13 on the Raspberry Pi Connector, GPIO23 on CF3 module.

Any ideas to what I am missing?

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [November 1, 2017, 3:29am UTC](https://mangoh.discourse.group/t/problem-controlling-pin-15-on-raspberry-pi-connector/861/2 "2017-11-01T03:29:08Z")

</div>

On the target:

```
root@swi-mdm9x14~# microcom -E /dev/ttyAT
at+wiocfg?
+WIOCFG: 2,16,0,0,1,0,0
+WIOCFG: 6,16,0,0,1,0,0
+WIOCFG: 7,16,0,0,1,0,0
+WIOCFG: 8,16,0,0,1,0,0
+WIOCFG: 13,16,0,0,1,0,0
+WIOCFG: 21,16,0,0,1,0,0
+WIOCFG: 22,16,0,0,1,0,0
+WIOCFG: 23,16,0,0,1,0,0
+WIOCFG: 24,16,0,0,1,0,0
+WIOCFG: 25,16,0,0,1,0,0
+WIOCFG: 28,0,0,0,1,0,0
+WIOCFG: 29,0,0,0,1,0,0
+WIOCFG: 30,0,0,0,1,0,0
+WIOCFG: 31,0,0,0,1,0,0
+WIOCFG: 32,16,0,0,1,0,0
+WIOCFG: 33,16,0,0,1,0,0
+WIOCFG: 34,0,0,0,1,0,0
+WIOCFG: 35,0,0,0,1,0,0
+WIOCFG: 36,0,0,0,1,0,0
+WIOCFG: 37,0,0,0,1,0,0
+WIOCFG: 42,16,0,0,1,0,0

OK
at+wiocfg=35,16
OK

```

Now reboot and try your program again. I believe that GPIO is actually connected to the low power microcontroller on inside of the WP module. The above AT command gives ownership of the GPIO to the Linux CPU. You should just need to do this once.

---

<div class="post-metadata">

**Author:** ![spmaurer](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@spmaurer](https://mangoh.discourse.group/u/spmaurer)\
**Post date:** [November 1, 2017, 3:51am UTC](https://mangoh.discourse.group/t/problem-controlling-pin-15-on-raspberry-pi-connector/861/3 "2017-11-01T03:51:26Z")

</div>

Thanks. That worked perfectly.
