Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Raspberry Pi GPIO using OSGi Services

DZone's Guide to

Raspberry Pi GPIO using OSGi Services

· IoT Zone
Free Resource

I've created an API that abstracts individual GPIO Pins as OSGi services, and made it available via the ECF github repository.  This allows applications to easily use the Raspberry Pi's GPIO to send output to or receive input from peripherals.

I've also created a short tutorial on how to use these services to control a single LED.

In a future tutorial, it's my intention to also show how to use OSGi Remote Services to easily expose GPIO Pins services for remote access.

Topics:

Published at DZone with permission of Scott Lewis, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}