[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mihini-dev] First steps
|
It is great to know Mihini 0.9 will support
working with GPIO directly. Yesterday I was just starting to see how to
interface Lua and Python in order to use the rpi-gpio Python package. Or
if I should follow the "/sys/class/gpio" approach. Having it
in Mihini will be really cool.
Thanks,
Marcelo Nery dos Santos
Research Software Engineer
Phone:
55-21-2132-3663
E-mail:
mnerys@xxxxxxxxxx
| Av.
Pasteur 146 & 138
Rio De Janeiro, RJ
22290-240 - Brazil |
From:
Laurent Barthelemy
<lbarthelemy@xxxxxxxxxxxxxxxxxx>
To:
Mihini project developer
discussions <mihini-dev@xxxxxxxxxxx>
Date:
07/23/2013 11:39 AM
Subject:
Re: [mihini-dev]
First steps
Sent by:
mihini-dev-bounces@xxxxxxxxxxx
Hi,
First, thank you for the
great feedback, I’m glad to see you could start easily with Mihini. J
As far as I know, there is
no existing page on how to blink a LED on a Beagle Board using Mihini.
However, we do have a new
Lua GPIO module that should help you interacting with LED.
This module will be released with Mihini 0.9, but it is already available
in master branch!
You can try this module right
now.
You can start by reading
this doc:
http://download.eclipse.org/mihini/api/lua/gpio.html
I don’t have a Beagle Board,
so I can’t be sure it will work out of the box, but I think it’s worth
trying!
What you need to do:
·
Read carefully the requirements
at the top of previous GPIO module doc page
This page http://www.armhf.com/index.php/using-beaglebone-black-gpios/
lets me think GPIO access in userspace should be OK.
·
Check Beagleboard user
leds are mapped on regular GPIO path
This page http://beaglebone.cameon.net/home/using-the-user-leds
lets me think it should be ok. (Look at the table at the end of the page)
·
Build the library: in
your Mihini build folder, type :
make gpio
·
Start your application
with correct user rights (you can start by trying root), load/use
GPIO module ( require”gpio” ) and try writing to some GPIOs.
I am really interested having
feedbacks from you on that J
Laurent Barthelemy
De : mihini-dev-bounces@xxxxxxxxxxx
[mailto:mihini-dev-bounces@xxxxxxxxxxx]
De la part de Florian Pirchner
Envoyé : mardi 23 juillet 2013 15:03
À : mihini-dev@xxxxxxxxxxx
Objet : [mihini-dev] First steps
Hi,
i am really impressed about m2m.eclipse.org. Last week i bought a "beagle
bone black", "arduino due" and some other stuff. We could
setup mihini on beagle bone using debian. Was really easy following your
instructions - good job on your wiki!
Now i am going to do my first steps with lua applications. Are there some
examples around how to use lua based on mihini to blink a led on beagle
board? I already could find the greenhouse demo in git, but it is really
advanced. I would look like a simple step by step tutorial.
Best Florian
And thanks for that great project..._______________________________________________
mihini-dev mailing list
mihini-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mihini-dev