I have a project in which I would like to log data from multiple Grove sensors simultaneously to an SD card. For some sensors, such as the Loudness Sensor and Light Sensor, I can simply do this by easily modifying the Examples>SD>Datalogger sketch. But for more advanced sensors with their own libraries, such as the Temperature and Humidity Sensor Pro, this is harder to wrap my head around, since you cannot get instant value reading.
How would you approach this? I would like to log values from the Temperature/Humidity sensor as they become available while logging light and loudness at regular, frequent intervals, ideally several times per second. It is not important to me whether they are logged to the same text file.