Example #1
0
        public bool read_sample_rate(SHAKE_SENSORS sensor, ref byte value)
        {
            if (shake_read_sample_rate(dev, (int)sensor, out value) == SHAKE_ERROR)
                return false;

            return true;
        }
Example #2
0
        public bool read_digital_filter(SHAKE_SENSORS sensor, ref byte value)
        {
            if (shake_read_digital_filter(dev, (int)sensor, out value) == SHAKE_ERROR)
                return false;

            return true;
        }
Example #3
0
        public bool write_sample_rate(SHAKE_SENSORS sensor, byte value)
        {
            if (shake_write_sample_rate(dev, (int)sensor, value) == SHAKE_ERROR)
                return false;

            return true;
        }
Example #4
0
 public int data_timestamp(SHAKE_SENSORS sensor)
 {
     return shake_data_timestamp(dev, (int)sensor);
 }
Example #5
0
        public bool write_digital_filter(SHAKE_SENSORS sensor, byte value)
        {
            if (shake_write_digital_filter(dev, (int)sensor, value) == SHAKE_ERROR)
                return false;

            return true;
        }