Well... you could read the mag value, and use pwm to pulse the led depending on the value of mag, so the stronger would make a led brighter.
Set it up so it does this with a setwatch on the button....
@Wilberforce started
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.
Well... you could read the mag value, and use pwm to pulse the led depending on the value of mag, so the stronger would make a led brighter.
Set it up so it does this with a setwatch on the button....