Update gpio.c

Added command "readmode" to read the mode of 1 pin