I'm having real difficulty finding out which pins they use for sensing, but if you knew which pin was used, even though we don't expose all the analogs, you could still use the NRF52LL library to manually kick off an ADC reading: https://www.espruino.com/NRF52LL#make-one-reading-from-the-adc-
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.
Hi - glad you're enjoying it!
Is this the micro:bit 2, or the 1?
It's not supported yet, but as far as I can see all the micro:bit does is read the voltage from one of the LEDs on the display (it's something we do for Puck.js too) so actually doing it shouldn't be too hard - the code we have is at https://github.com/espruino/Espruino/blob/cfbc4040d/libs/puckjs/jswrap_puck.c#L1298-L1311
I'm having real difficulty finding out which pins they use for sensing, but if you knew which pin was used, even though we don't expose all the analogs, you could still use the NRF52LL library to manually kick off an ADC reading: https://www.espruino.com/NRF52LL#make-one-reading-from-the-adc-