IoT Zone is brought to you in partnership with:

Scott is a DZone MVB and is not an employee of DZone and has posted 24 posts at DZone. View Full User Profile

Raspberry Pi GPIO using OSGi Services

08.06.2014
| 4258 views |
  • submit to reddit

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.

Published at DZone with permission of Scott Lewis, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)