Home
last modified time | relevance | path

Searched refs:ap3216cDev (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/i2c/
A Dtest_ap3216c.py18 ap3216cDev = AP3216C() variable
19 ap3216cDev.open("ap3216c")
20 ap3216cDev.init()
23 brightness = ap3216cDev.ap3216c_read_ambient_light()
26 ir_data = ap3216cDev.ap3216c_read_ir_data()
29 ps_data = ap3216cDev.ap3216c_read_ps_data()
37 ap3216cDev.close()
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/i2c/
A Dtest_ap3216c.py18 ap3216cDev = AP3216C() variable
19 ap3216cDev.open("ap3216c")
20 ap3216cDev.init()
23 brightness = ap3216cDev.ap3216c_read_ambient_light()
26 ir_data = ap3216cDev.ap3216c_read_ir_data()
29 ps_data = ap3216cDev.ap3216c_read_ps_data()
37 ap3216cDev.close()
/AliOS-Things-master/components/amp/modules/
A Dap3216c.js110 var ap3216cDev; variable
124 ap3216cDev.writeMem(addr, msgbuf);
131 buf = ap3216cDev.readMem(addr, len);
199 ap3216cDev = i2c.open({id: i2cid});
213 ap3216cDev.close();
530 ap3216cDev = i2c.open({id: i2cid});
546 ap3216cDev.close();

Completed in 7 milliseconds