# Debound GPIO using handle

**URL:** <https://forum.legato.io/t/debound-gpio-using-handle/3926>\
**Category:** Legato Application Framework\
**Created:** [December 6, 2018, 8:27am UTC](https://forum.legato.io/t/debound-gpio-using-handle/3926 "2018-12-06T08:27:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjikool](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@sanjikool](https://forum.legato.io/u/sanjikool)\
**Post date:** [December 6, 2018, 8:27am UTC](https://forum.legato.io/t/debound-gpio-using-handle/3926/1 "2018-12-06T08:27:20Z")

</div>

Hello all, I have two problem about GPIO, so hope you help me 😃  
1, I’m tired to debound for GPIO.  
Can you give me some solution to debounded GPIO using software.  
2, I want using ext gpio. ( 26 pin Raspberry Pi) how to configure to use this pin ( i used mangoh Red with Wp7607).  
Tks you so much about all 🙂

---

<div class="post-metadata">

**Author:** ![Manukumar](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Manukumar](https://forum.legato.io/u/Manukumar)\
**Post date:** [December 10, 2018, 12:07pm UTC](https://forum.legato.io/t/debound-gpio-using-handle/3926/2 "2018-12-10T12:07:41Z")

</div>

Hi,  
To configure GPIO pins,

Enter to “AT” mode via “microcom -E /dev/ttyAT” in WP module after boots.  
see the GPIO current configuration in the module which shows configurations of different GPIO’s in this you can see all the GPIO’s status.  
at+wiocfg?

If the 2nd element is “0” then its unallocated We can allocate/configure it by assigning 16 to 2nd element.  
Example, AT+WIOCFG=26,16,0,0,1,0,0  
After this reboot the MangOH module to take effect of changes of “at+wiocfg”

You can use later in user space via “echo 36 \> /sys/class/gpio/export”
