Difference between revisions of "Android Thing: Android Hardware Programming"
From FriendlyELEC WiKi
Line 2: | Line 2: | ||
− | == | + | ==Introduction== |
− | + | In order for users to access FriendlyElec ARM boards' interfaces and ports easily under Android FriendlyElec has developed a library called "libfriendlyarm-hardware.so".<br /> | |
− | == | + | ==Accessible Interfaces & Ports== |
* Serial Port | * Serial Port | ||
* PWM | * PWM | ||
Line 13: | Line 13: | ||
* LCD 1602 (I2C) | * LCD 1602 (I2C) | ||
* OLED (SPI) | * OLED (SPI) | ||
− | + | I2C, SPI, GPIO are accessible.<br /> | |
<br /> | <br /> | ||
[[File:Smart4418SDK+OLED.png|frameless|500px|Smart4418SDK+OLED]]<br /> | [[File:Smart4418SDK+OLED.png|frameless|500px|Smart4418SDK+OLED]]<br /> | ||
− | == | + | ==Applicable Boards & OS== |
− | * Smart4418 SDK | + | * Smart4418 SDK: Android 5 |
− | * Tiny4412 | + | * Tiny4412: Android 4.2, Android 5 |
− | * Tiny210/Smart210/Mini210 | + | * Tiny210/Smart210/Mini210: Android 4.2 |
− | * Tiny6410/Mini6410 | + | * Tiny6410/Mini6410: 2.3 |
<br /> | <br /> | ||
− | == | + | ==Resources== |
− | * | + | * Code Samples: https://github.com/benhorgen/DeviceAccess |
− | * | + | * Guide to API in Chinese: https://github.com/friendlyarm/AndroidHardwareAccess/blob/master/友善电子Android硬件开发指南.pdf |
+ | |||
+ | ==Update Log== | ||
+ | ===March-2-2017=== | ||
+ | * Released English version |
Revision as of 05:09, 2 March 2017
Contents
1 Introduction
In order for users to access FriendlyElec ARM boards' interfaces and ports easily under Android FriendlyElec has developed a library called "libfriendlyarm-hardware.so".
2 Accessible Interfaces & Ports
- Serial Port
- PWM
- EEPROM
- ADC
- LED
- LCD 1602 (I2C)
- OLED (SPI)
I2C, SPI, GPIO are accessible.
3 Applicable Boards & OS
- Smart4418 SDK: Android 5
- Tiny4412: Android 4.2, Android 5
- Tiny210/Smart210/Mini210: Android 4.2
- Tiny6410/Mini6410: 2.3
4 Resources
- Code Samples: https://github.com/benhorgen/DeviceAccess
- Guide to API in Chinese: https://github.com/friendlyarm/AndroidHardwareAccess/blob/master/友善电子Android硬件开发指南.pdf
5 Update Log
5.1 March-2-2017
- Released English version