Raspberry Pi GPIO

-hh hh at hh.on-rev.com
Sat Jun 11 04:34:00 EDT 2016


Perhaps the best "library" to Raspi-GPIO, that may also
answer most of your technical questions (in the C-part).

http://elinux.org/RPi_GPIO_Code_Samples

Note the line in the C example that explains how to
make this "Raspi 1"-code working on a Raspi 2.

Especially for you the WebIOPi may be also interesting:
http://webiopi.trouch.com/

Relating to PIR sensors there are well-tested-tutorials
in English in the folks (I dont link to the one I used,
because it's in German only).

===
This is my 'unsharp' opinion
(may hopefully need an update with LC's FFI):

If you use python via shell from LC this doesn't really
matter: LC 7 is *much* slower than LC 6, and LC 6 is
slower than Python, and Python is *much* slower than C
anyway. Sums up to a factor of close to 100 in time
needed. LCB will not bring that down below 10, I presume.

Nevertheless, using LC on Raspi for hardware is *really*
good for rapid TESTING (use LC 6), NOT for rapid WORKING.




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705665.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list