I just landed here having the exact same problem interfacing a Teensy 3.2 and the Sensirion SDP810.
Would it be possible for you to post the working code in its full?
I spent the last hour trying variations of the bits above, but I cannot get it to work properly (I am in no way an expert in...