This function returns the delta value for a given channel.
int16_t qt_get_sensor_delta( uint8_t sensor_number )
Arguments |
Type |
Comment |
---|---|---|
sensor_number |
unit8_t |
sensor id for which the delta is required |
Return type |
Comment |
---|---|
int16_t |
The delta value of the sensor specified |
All sensors must be configured (using qt_enable_key or qt_enable_rotor or qt_enable_slider) and initialized by calling qt_init_sensing before calling this function.