Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Java sensors #7

Open
mattjlewis opened this issue Jan 20, 2018 · 1 comment
Open

Java sensors #7

mattjlewis opened this issue Jan 20, 2018 · 1 comment
Labels

Comments

@mattjlewis
Copy link

Hi,

Nice work on your Java library of sensors. You may be interested in the ones I have written for my own Java device I/O library.
See:

I'm think I should make it easier to port my code to Android Things, should be simply a matter of providing a similar I2C / SPI API.

Matt

@leinardi
Copy link
Owner

Hi Matt, porting your code to Android Things should be relatively easy since probably you just need to provide an interface for your SPI/I2C/GPIO device classes that is then used by both your implementation and Android Things.

You can find the Android Things API documentation here: https://developer.android.com/things/reference/com/google/android/things/pio/SpiDevice.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants