Solved
STTS22H - what is the temperature registers format?
I may be exceptionally dumb, but I can't find in the STTS22H DS, how can the measured temperature be determined from the values read from the temperature registers.
What am I missing?
JW
I may be exceptionally dumb, but I can't find in the STTS22H DS, how can the measured temperature be determined from the values read from the temperature registers.
What am I missing?
JW
Hi @Community member , you can also refer to the online available C drivers (github link) for the conversion between LSB (concatenate TEMP_H_OUT and TEMP_L_OUT) and °C in STTS22H
float_t stts22h_from_lsb_to_celsius(int16_t lsb)
{
return ((float_t)lsb /100.0f);
}Regards
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.