Home
last modified time | relevance | path

Searched refs:x_org (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/amp/modules/
A Dqlc5883.js292 var x_org, y_org, z_org;
299 xyz_org = qmc5883l_readRaw(x_org, y_org, z_org);
300 x_org = xyz_org[0];
304 console.log("org[%d,%d,%d],\n"+ " x:" + x_org+ " y:" + y_org+ " z:" + z_org);
307 x_min = x_org < x_min ? x_org : x_min;
308 x_max = x_org > x_max ? x_org : x_max;
323 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min);
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_mag_qst_qmc5883l.c166 int16_t x_org, y_org, z_org; in qmc5883l_readHeading() local
170 if (!qmc5883l_readRaw(&x_org, &y_org, &z_org)) in qmc5883l_readHeading()
174 x_min = x_org < x_min ? x_org : x_min; in qmc5883l_readHeading()
175 x_max = x_org > x_max ? x_org : x_max; in qmc5883l_readHeading()
190 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min); in qmc5883l_readHeading()
A Ddrv_mag_qst_qmc6310.c218 int16_t x_org, y_org, z_org; in qmc6310_readHeading() local
243 x_org = (short)(((mag_data[1]) << 8) | mag_data[0]); in qmc6310_readHeading()
246 LOGD("SENSOR", "org[%d,%d,%d],\n", x_org, y_org, z_org); in qmc6310_readHeading()
248 x_min = x_org < x_min ? x_org : x_min; in qmc6310_readHeading()
249 x_max = x_org > x_max ? x_org : x_max; in qmc6310_readHeading()
264 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min); in qmc6310_readHeading()
/AliOS-Things-master/components/py_engine/framework/
A Dqmc5883.py259 x_org = xyz_org[0];
262 print("org[%f,%f,%f]\n" %(x_org ,y_org, z_org));
265 if (x_org < x_min):
266 x_min = x_org;
268 if (x_org > x_max):
269 x_max = x_org;
293 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min);
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/compass/
A Dcompass.md251 int16_t x_org, y_org, z_org; // 原始数据
255 if (!qmc5883l_readRaw(&x_org, &y_org, &z_org))
259 x_min = x_org < x_min ? x_org : x_min;
260 x_max = x_org > x_max ? x_org : x_max;
276 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min);
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11modes.c775 displaydata->x = xinerama[screen].x_org; in X11_InitModes()
851 if (data->use_vidmode && !data->xinerama_info.x_org && !data->xinerama_info.y_org && in X11_GetDisplayModes()
1046 rect->x = xinerama[data->xinerama_screen].x_org; in X11_GetDisplayBounds()

Completed in 9 milliseconds