How can I calculate roll pith and yaw by X-NUCLEO-IKS01A1/2/3?

Hi guys is there someone kind enough to help me please ?!?!
I need to calculate the vale of yaw pitch and roll using a IKS01A1 or 3 shield but i can’t :frowning:
Is there anyone who has tried in the past and can help me with the code please? thank you very much!