Alright, so I’ve been trying to get this SD card to write data from the TSYS01 and MS5837 sensors and have encountered a weird error. The SD card won’t write data to the text file if the MS5837 is read. In my code specifically, everything is fine until I add the line “sensor0.read();” I have no idea why this happens since the line of code that causes the problem is in the loop not the setup and TSYS01 works just fine. Here’s my full code for you to examine.
What does your circuit look like?