Rotate 3D object with given Euler angles in degrees from external device

I’m using an external hardware device that gives me the euler angles yaw, pitch and roll in degrees and I want to use these values in unity to rotate the 3D cube . I’m already receiving the data properly