public void UpdateMpu() { if (!UBT.mpuExists) { return; } Int16 ax, ay, az; if (UBT.GetMpuData(out ax, out ay, out az)) { UIUdateMpu(ax.ToString(), ay.ToString(), az.ToString()); } else { UIUdateMpu(); } }
public void UpdateMpu() { if (!UBT.mpuExists) { return; } Int16 ax, ay, az; if (UBT.GetMpuData(out ax, out ay, out az)) { UIUdateMpu(ax.ToString(), ay.ToString(), az.ToString()); } else { UIUdateMpu(); } }