to make the ldrtest.py pass ok