
IntelligentEnoughToBeDangerous (Customer) asked a question.
Can code be ran in the background while the P1-04THM (or other temperature sensors) is taking its 1s sample?
Spec sheet calls out P1-04THM takes 1s to sample (all 4 channels). Can anyone confirm if this requires no other readings to be taken during the measurements? I don't need to sample faster than 1s, but I do need to be able to sample other stuff in the mean time.
Thanks for your time and help on this.
P1 modules are always independently sampling their channels in the background and being queried for the most recent data by the Base Controller. When you make a function call like P1.readTemperature(), you are getting the most recent data from the Base Controller.