Difference between revisions of "Template:S5Pxx18AccessHWUnderAndroid"
From FriendlyELEC WiKi
(Created blank page) |
(updated by API) |
||
Line 1: | Line 1: | ||
− | + | ==Access Hardware under Android== | |
+ | FriendlyElec developed a library called “libfriendlyarm-hardware.so”, for android developer to access the hardware resources on the development board in their android apps, the library is based on Android NDK.<br /> | ||
+ | Accessible Modules: | ||
+ | * Serial Port | ||
+ | * PWM | ||
+ | * EEPROM | ||
+ | * ADC | ||
+ | * LED | ||
+ | * LCD 1602 (I2C) | ||
+ | * OLED (SPI) | ||
+ | <br /> | ||
+ | Interfaces & Ports: | ||
+ | * GPIO | ||
+ | * Serial Port | ||
+ | * I2C | ||
+ | * SPI | ||
+ | <br /> | ||
+ | Refer to the following url for details:<br /> | ||
+ | * Homepage: http://wiki.friendlyarm.com/wiki/index.php/Android_Hardware_Access | ||
+ | * Examples: https://github.com/friendlyarm/AndroidHardwareAccess | ||
+ | * Guide to API in Chinese: https://github.com/friendlyarm/AndroidHardwareAccess/blob/master/友善电子Android硬件开发指南.pdf |
Revision as of 11:17, 23 December 2017
Access Hardware under Android
FriendlyElec developed a library called “libfriendlyarm-hardware.so”, for android developer to access the hardware resources on the development board in their android apps, the library is based on Android NDK.
Accessible Modules:
- Serial Port
- PWM
- EEPROM
- ADC
- LED
- LCD 1602 (I2C)
- OLED (SPI)
Interfaces & Ports:
- GPIO
- Serial Port
- I2C
- SPI
Refer to the following url for details: