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. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode