Hi Nicolas,

On 30.06.2010 20:10, Nicolas Luna wrote:
Ok so finally I found it.. I changed

echo 1 > /sys/class/gpio/gpio142/direction

to

echo "high" > /sys/class/gpio/gpio142/direction

I think it is also possible to use "out".

Thank you guys,

Regards,

Nicolas

You should read :

http://lxr.linux.no/#linux+v2.6.34/Documentation/gpio.txt

Especially : "Sysfs Interface for Userspace (OPTIONAL)"

Regards,


--
Christophe Aeschlimann

Embedded Software Engineer

Advanced Communications Networks S.A.

Rue du Puits-Godet 8a
2000 Neuchâtel, Switzerland

Tél. +41 32 724 74 31

[email protected]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to