I need a quick way to read the sensirion temp humidity sensor
avionikeren
Posts: 64
Is there any quicker way to read the sensirion temp humidity sensor, I use the code that is·recommended in the example, but it use so much time... I have a lot of different sensors in my application and I need to send the readings to a computer minimum·five times each second, all the other sensors are no problem, just the sensirion... do I have to·buy another type of temperature sensor or can the code be more effective?
Comments
You can go off GOSUB and do other things before that subroutine loop is called and then come back to see if the sensor conversion is done.
In other words, let the sensor wait for you.
I have done this with the compass sensor provided by Parallax and a servo in a control system demonstration.
I hope this helps.
SJW
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com