fix gpio read value NOT A POINTER