On 06/29/2015 03:46, Daniel Bolgheroni wrote: > On Wed, Jun 24, 2015 at 05:26:10PM +0200, Piotr Kubaj wrote: >> Hi all, >> >> I'm mainly a FreeBSD user but want to learn OpenBSD. I'm also interested >> in basic electronics, like programming own thermometer. That's why I >> want to install OpenBSD on my BeagleBone Black and write some simple >> programs using I/O pins. Are there any tutorials on this? I have found >> some books about FreeBSD kernel programming, but none for OpenBSD. >> Thanks for your help. > > I have a simple example to blink a LED connected to the GPIO here: > > https://github.com/dbolgheroni/bghbox/blob/master/gpio_blink/gpio_blink.c > > Most of it I extracted from the OpenBSD gpioctl itself. It's all there. > > Cheers, > Thanks! That's what I was looking, but such examples are hard to find.
[demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]