/* When the BBC micro:bit runs */ function onPressA( ) { microbit.say("LDR Value:"); microbit.say(microbit.readPinAnalogue(1)); }