Home
last modified time | relevance | path

Searched refs:ap3216c (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/amp/test/
A Dtest_ap3216c.js16 var ap3216c = require('./ap3216c.js'); variable
18 ap3216c.init("ap3216c");
22 var brightness = ap3216c.ap3216c_read_ambient_light();
25 var ir_data = ap3216c.ap3216c_read_ir_data();
28 var ps_data = ap3216c.ap3216c_read_ps_data();
39 ap3216c.deinit();
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/lightmeter/
A Dlightmeter.md296 #include "ap3216c.h"
386 * This function initializes ap3216c registered device driver
390 * @return the ap3216c device.
395 1. ap3216c连接到HaaS edu k1的I2C1端口, 所以i2c_dev的端口好需要设定为1
396 2. ap3216c为7-bit地址模式
397 3. haas1000芯片内部的I2C1作为主模式, ap3216c作为从设备
398 4. ap3216c外设定制用AP3216C_ADDR声明
409 /* 复位ap3216c芯片, 向system configuration寄存器写入0x0对其进行软件复位 */
411 /* 等待ap3216c复位稳定时间 */
413 /* 设置ap3216c工作在连续量测ALS/PS/IR模式 */
[all …]
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/i2c/
A Dtest_ap3216c.py16 from ap3216c import AP3216C
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/i2c/
A Dtest_ap3216c.py16 from ap3216c import AP3216C

Completed in 5 milliseconds