Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2014 17:17:58 +0100
From:      =?UTF-8?Q?Ren=C3=A9_Ladan?= <r.c.ladan@gmail.com>
To:        Maxim V FIlimonov <che@bein.link>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: using GPIO on 10.1-release
Message-ID:  <CADL2u4h7C4BfcQ884f=4KpY60LZ_CGyNO8_WE16bwwpekJfHAQ@mail.gmail.com>
In-Reply-To: <1772909.5HItWhHBl0@quad>
References:  <201412131505.sBDF55IM070058@mech-as221.men.bris.ac.uk> <1772909.5HItWhHBl0@quad>

next in thread | previous in thread | raw e-mail | index | archive | help
Op 13 dec. 2014 16:23 schreef "Maxim V FIlimonov" <che@bein.link>:
>
> On Saturday 13 December 2014 07:05:06 Anton Shterenlikht wrote:
> > Hi
> >
> > My son is bugging me to teach him something 'cool' on RPi.
> > I've got 10.1-release working on RPi-B.
> >
> > I've seen some tutorials on using LEDs via
> > GPIO, but those are implemented in python
> > using RPi-GPIO module [1], which doesn't seem to
> > exist on ports. (Or am I looking in the wrong place?)
> >
> > Anyway, what is the easiest way to start on
> > GPIO programming on RPi-B 10.1-release,
> > preferably using what is available via ports
> > already?
> >
>
> Use gpioctl, it's already in the base system.

Or look at comms/dcf77pi for some examples in C (in the input.c file)

Regards Ren=C3=A9
> --
> wbr, Maxim Filimonov
> che@bein.link
> _______________________________________________
> 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?CADL2u4h7C4BfcQ884f=4KpY60LZ_CGyNO8_WE16bwwpekJfHAQ>