Lines Matching full:upmmma7660
25 import pyupm_mma7660 as upmMMA7660
28 myDigitalAccelerometer = upmMMA7660.MMA7660(
29 upmMMA7660.MMA7660_I2C_BUS,
30 upmMMA7660.MMA7660_DEFAULT_I2C_ADDR);
52 myDigitalAccelerometer.setSampleRate(upmMMA7660.MMA7660.AUTOSLEEP_64)
57 x = upmMMA7660.new_intp()
58 y = upmMMA7660.new_intp()
59 z = upmMMA7660.new_intp()
61 ax = upmMMA7660.new_floatp()
62 ay = upmMMA7660.new_floatp()
63 az = upmMMA7660.new_floatp()
69 " z = {2}").format(upmMMA7660.intp_value(x),
70 upmMMA7660.intp_value(y),
71 upmMMA7660.intp_value(z))
77 "g z = {2}g").format(upmMMA7660.floatp_value(ax),
78 upmMMA7660.floatp_value(ay),
79 upmMMA7660.floatp_value(az))