Difference between revisions of "Android Thing: Android Hardware Programming"

From FriendlyELEC WiKi
Jump to: navigation, search
Line 2: Line 2:
  
  
==简介==
+
==Introduction==
为方便用户开发需要访问开发板硬件资源的Android应用程序,友善电子开发了一个硬件访问函数库(命名为libfriendlyarm-hardware.so),用于访问开发板上的硬件资源。<br />
+
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常用的接口。<br />
+
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,  系统版本: Android 5
+
* Smart4418 SDK: Android 5
* Tiny4412,  系统版本: Android 4.2, Android 5
+
* Tiny4412: Android 4.2, Android 5
* Tiny210/Smart210/Mini210, 系统版本: Android 4.2
+
* Tiny210/Smart210/Mini210: Android 4.2
* Tiny6410/Mini6410,  系统版本: 2.3
+
* Tiny6410/Mini6410: 2.3
 
<br />
 
<br />
==开发资料==
+
==Resources==
* 示例程序仓库:https://github.com/benhorgen/DeviceAccess
+
* Code Samples: https://github.com/benhorgen/DeviceAccess
* 中文API文档:https://github.com/friendlyarm/AndroidHardwareAccess/blob/master/友善电子Android硬件开发指南.pdf
+
* 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

查看中文


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.

Smart4418SDK+OLED

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

5 Update Log

5.1 March-2-2017

  • Released English version