Quote:
Originally Posted by buckyswider
Thanks again. I turned debug on and scoured the log. At the time of a pocket unlock, I saw on "GetLight" with a value of "5", followed by a "CreateLockWindow" sequence. After that, I see 8 consecutive "GetLight" calls with a value of "1". Some I'm guessing that your code checks 8 times to make sure there's not a false reading?? So I set my light unlock value to 3....hopefully that will do the trick!!
|
TouchLockPro checks once per second the light sensor value, when locked. If it senses light more than the configured mininum light sensor value for the configured unlock light sensor time (default 1500 ms). So I would not expect 8 time GetLight very fast after each other. If this is the case, I would like to see your log file, maybe there is something wrong in my code? Can you post your log file?