Open ghost opened 6 years ago
Hello @neuberfran, you can familiarize yourself with the PIO APIs available on Android Things. It looks like your code uses I2C protocol, so I think it will port over fairly easily since you already know the register addresses and such.
This link describes the PIO protocols we support (listed on the left): https://developer.android.com/things/sdk/pio/index.html
This link goes to the Javadoc reference for thoe APIs: https://developer.android.com/things/reference/com/google/android/things/pio/package-summary.html
You can also look at the source for some of our drivers that use I2C, like the bmx280
and the ht16k33
.
Hi,
I have this driver https://github.com/intel-iot-devkit/upm/tree/master/src/smartdrive running ok in upm sensors drivers. (I tested this with android studio, gradle, jcenter and I managed to move two engines through i2c of the smartdrive - driver.
How the manufacture of intel edison died I need transport this to androidthings drivers.
What are the steps I should take and where to get the tutorials I need?