Searched refs:ap3216c (Results 1 – 4 of 4) sorted by relevance
16 var ap3216c = require('./ap3216c.js'); variable18 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();
296 #include "ap3216c.h"386 * This function initializes ap3216c registered device driver390 * @return the ap3216c device.395 1. ap3216c连接到HaaS edu k1的I2C1端口, 所以i2c_dev的端口好需要设定为1396 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 …]
16 from ap3216c import AP3216C
Completed in 5 milliseconds