On 06/09/2016 03:38 PM, Richard Gaskin wrote:
What's needed to work with the GPIO on RPi?
I'd like to work with a motion sensor, and would prefer to work with LC
instead Python if I can.
Not LC, but I came across a very nice Forth for the pi: supports C-code
primitives and has a GPIO example
this message in context:
http://runtime-revolution.278305.n4.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705677.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit
Earlier I wrote:
Yesterday my Pi3 arrived and I tried once again to see if any of the
three most recent LC builds would run on it. And once again, as with my
Pi2, the older of the three crashes on launch, the other two crash as
soon as I click anywhere in the menu bar.
Too bad, since the Pi is
-hh wrote:
> Forgot to mention, in case you are interested in WebIOPi,
> there is a patch:
>
> WebIOPi-0.7.1 Patch for Raspberry B+, Pi2, and Pi3
> https://github.com/doublebind/raspi/
>
> I had it running on Raspi2, but not yet on Raspi3.
Thanks. Bookmarked for when I get back to that.
Right n
.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705669.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
ing 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.
__
Sorry, this is beyond me as well
-= Mike
On Jun 10, 2016, 1:15 PM, at 1:15 PM, Richard Gaskin
wrote:
>Michael Doub wrote:
> > Richard,
> >
> > You initial gut reaction is STILL correct. Currently the only
> > solution available to livecoders is the file method.
>
>What is "the file method
I think you have to poll. This would be another feature that might go
on the list to be done with LCB.
-= Mike
On 6/10/16 1:26 PM, Richard Gaskin wrote:
Earlier I wrote:
> What is "the file method"? How do I treat GPIO connections as file
> paths? Somewhere in /proc?
>
> Earlier you wrot
Earlier I wrote:
> What is "the file method"? How do I treat GPIO connections as file
> paths? Somewhere in /proc?
>
> Earlier you wrote:
>
> Look at the comments in the library it self for how to solve
> the Accessing the GPIO (of a raspberry pi) without "sudo" problem.
>
> The stack s
Michael Doub wrote:
> Richard,
>
> You initial gut reaction is STILL correct. Currently the only
> solution available to livecoders is the file method.
What is "the file method"? How do I treat GPIO connections as file
paths? Somewhere in /proc?
Earlier you wrote:
Look at the comments
Richard,
You initial gut reaction is STILL correct. Currently the only solution
available to livecoders is the file method. The performance of this
solution is terrible and limits the types of real world problems that
can be solved with livecode and raspberry pi.
It would be wonderful if
Michael Doub wrote:
> Richard, Take a look at the code in the MasterLibrary. Look at the
> comments in the library it self for how to solve the Accessing the
> GPIO (of a raspberry pi) without "sudo" problem.
>
> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
Thanks, Mi
-hh wrote:
> Using the GPIO is nothing else than writing zeros or ones to a file.
> Nobody needs a library for that?
> [Also there was a talk about that at the last LC US-conference.]
I'll see if I can find that one on the DVDs.
What is the LC syntax for something like:
open file GPIO pin 6
Richard, Take a look at the code in the MasterLibrary. Look at the
comments in the library it self for how to solve the Accessing the GPIO
(of a raspberry pi) without "sudo" problem.
https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
Regards,
Mike
On 6/9/16 6:38 P
onnect.com/
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Raspberry-Pi-GPIO-tp4705616p4705626.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.
It looks like you could do this very easily in script. A good community project
to write a library and see what you can do with it!
http://luketopia.net/2013/07/28/raspberry-pi-gpio-via-the-shell/
Cheers
Monte
> On 10 Jun 2016, at 8:38 AM, Richard Gaskin wrote:
>
> What's
What's needed to work with the GPIO on RPi?
I'd like to work with a motion sensor, and would prefer to work with LC
instead Python if I can.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
_
17 matches
Mail list logo