I can not control beaglebone black GPIO

I am a new user either with beagleboard black and node-red, I want to control beaglebone black GPIO using node-red-contrib-johnny5, my flow was listed as follows:
[{"id":"f5e61d75.93bc1","type":"tab","label":"流程1","disabled":false,"info":""},{"id":"5aada02c.0fd5","type":"inject","z":"f5e61d75.93bc1","name":"ON","topic":"x","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":290,"y":200,"wires":[["4a75b5cb.32488c"]]},{"id":"4a75b5cb.32488c","type":"gpio out","z":"f5e61d75.93bc1","name":"P9-15","state":"OUTPUT","pin":"48","i2cDelay":"0","i2cAddress":"","i2cRegister":"","outputs":0,"board":"cc553fd0.3e82a","x":650,"y":180,"wires":[]},{"id":"6551b710.a6e528","type":"inject","z":"f5e61d75.93bc1","name":"OFF","topic":"x","payload":"0","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":290,"y":320,"wires":[["4a75b5cb.32488c"]]},{"id":"cc553fd0.3e82a","type":"ioplugin","z":"","name":"","username":"","password":"","boardType":"beaglebone-io","serialportName":"","connectionType":"local","mqttServer":"","pubTopic":"","subTopic":"","tcpHost":"","tcpPort":"","sparkId":"","sparkToken":"","beanId":"","impId":"","uuid":"","token":"","sendUuid":"","samplingInterval":"100"}]


msg : error "TypeError: Cannot read property 'index' of undefined". when I change PIN 48 into P9_15, return msg : error"Error: EACCES: permission denied, open /sys/devices/platform/ocp/ocp:P9_15_pinmux/state'"

I have only node-red-contrib-johnny5,I don't know how to do,I hope someone help me,Some advise?
Thank you in advance

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.