This Application note gives an example for microcontroller C code. It includes code for:
Readout of Humidity (RH) or Temperature (T) with basic error handling
Calculation of RH linearization and temperature compensation
Access to status register
Dewpoint calculation from RH and T
UART handling
It s an interface for using huffman trees (data structure Application) that can be used for compression and a test program with CLI in a form of a menu to test those features.
It s an entire Application that uses knowdledge of probabilistic and statistical math to generate and display radom variables characteristics and histograms...it includes a console too for changing or viewing general parameters in the form of commands sent to the Application....Enjoy!