You also mention debugging; do you have the output of the debugging log?
Are you using the mini breakout board or the Arduino expansion board? What image version and mraa version are you using?
MRAA version 0.6.2
Yocto...configure_edison --version doesn't work so probably old