Debound GPIO using handle


#1

Hello all, I have two problem about GPIO, so hope you help me :smiley:
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 :slight_smile:


#2

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”