Hello I am experimenting with the pocketbeagle, 
and i try to write a normal digitalWrite to a gpio pin with my node script.

i am able to get button input signals and analog read. 

Anyway when i try to use: 

b.pinMode(pin, b.OUTPUT);
b.digitalWrite(pin, b.LOW);


i get the message:

error: Unable to write to /sys/class/gpio/gpio60/value

the pin seems to be owned by root user, is this the problem?

 1 root gpio    0 Dec 13 12:57 gpio60 -> ../../devices/platform/ocp/
4804c000.gpio/gpio/gpio60

how can this be solved with a beaglescript from nodejs app?

thank you for any help! i am hitting a wall at the moment.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/61926427-7dc0-408b-a077-bee102bbce01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to