Content originally posted in LPCWare by mngeowcy on Sun Apr 05 08:17:07 MST 2015
Quote: R2D2
Quote: mngeowcy
getTicks() is just returning the value of a counter that increments every 1ms.
:D
And do you think that's fast enough for your sensor output?
Quote: mngeowcy
Btw how did you know that my sensor is generating a pulse of 3000 µs? Also , will speeding up the clock cause the reading to be more inaccurate ?
Sensor datasheet is talking about output of 10*T in µs (TS1=0, TS0=0) :O
So at 0°C that should be 273°K * 10µs/°K = 2730 µs, right :quest:
Not sure what you are trying to measure, but with a 1ms counter your resolution isn't very high...
Quote:
10*T in µs (TS1=0, TS0=0)
What is T referring to here?
Quote:
So at 0°C that should be 273°K * 10µs/°K = 2730 µs
I get this part , so at higher temperatures there will be a longer period which means a longer delay?
Also , the final result returns 10 times the value of the temp , by is the returned value multiplied by another 100 in the function ?