Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 09:37:13 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Tom Everett <tom@khubla.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Documentation for using GPIO
Message-ID:  <20140930093713.438c9016@X220.alogt.com>
In-Reply-To: <CAB3ij4BYHWVDAXPe%2BCUXrCb=Ar65oBjHDf0eBzzk5Z4W8Zvqpg@mail.gmail.com>
References:  <20140929080337.46bbb5a3@X220.alogt.com> <CAB=2f8xaB0UtwHRisU=86RU3U1mczaxKP=QC=HjgbHq0EL60Nw@mail.gmail.com> <20140930081618.122a0c79@X220.alogt.com> <CAB3ij4BYHWVDAXPe%2BCUXrCb=Ar65oBjHDf0eBzzk5Z4W8Zvqpg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, 29 Sep 2014 18:37:53 -0600
Tom Everett <tom@khubla.com> wrote:

> I published a simple example here.
> 
> https://github.com/teverett/gpioexample
> 
thanks. I already have it on my machine.

Your own site has many other useful information too.

One general note. At least for me, it is very often very difficult when
things are very simple but the simplicity is not stated in
documentation.

Erich


> On Mon, Sep 29, 2014 at 6:16 PM, Erich Dollansky <
> erichsfreebsdlist@alogt.com> wrote:
> 
> > Hi Luiz,
> >
> > On Mon, 29 Sep 2014 16:27:26 -0300
> > Luiz Otavio O Souza <lists.br@gmail.com> wrote:
> >
> > > > is there some documentation available of how to use GPIO on a
> > > > Raspberry Pi B+ than man gpio, man gpioctl etc?
> > > >
> > > Unfortunately not, there is the Wiki page
> > > (https://wiki.freebsd.org/FreeBSD/GPIO) but it doesn't add much.
> > >
> > I ave read this.
> >
> > > But we can try to help you whenever possible, just post your
> > > questions and we'll try to address them.
> >
> > I am currently working on a C program which should use GPIO to
> > switch relais and read the state of switches via GPIO. I would like
> > to make this program as simple as possible by creating first a
> > layer which provides then functions like set (Pin), reset (Pin)
> > and read (Pin) only. Of course plus the things needed to open,
> > close and configure the interface.
> >
> > The best I have found until now are the sources of gpioctl. I am
> > currently looking at the source.
> >
> > Is this the best start?
> >
> > Erich
> > _______________________________________________
> > freebsd-arm@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to
> > "freebsd-arm-unsubscribe@freebsd.org"
> >
> 
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140930093713.438c9016>