I'd say first port of call is probably checking that the LDR is right over the meter LED - and you could also check the voltage from GND to pin D31 when everything is in place.
It's possible that the LDR you have is of a resistance that's a bit too 'on the edge' for the voltage change to always be counted, in which case you might need to disable the internal pullup and then add your own of a higher value.
But... I've never really seen that style of meter before - I guess it's possible (although unlikely) that the LED blink is not calibrated (but you hope the dial movement is!)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'd say first port of call is probably checking that the LDR is right over the meter LED - and you could also check the voltage from GND to pin D31 when everything is in place.
It's possible that the LDR you have is of a resistance that's a bit too 'on the edge' for the voltage change to always be counted, in which case you might need to disable the internal pullup and then add your own of a higher value.
But... I've never really seen that style of meter before - I guess it's possible (although unlikely) that the LED blink is not calibrated (but you hope the dial movement is!)