well, this is fork and quite old version, can you try to log jshIsPinValid(pin) and also output of nrf_gpio_pin_read(pin). Also can you put ADC1_IN0x pins back to board file (see end of other board files), nrf52 has 8 fixed analog pins. D19 is not analog but still removing them may possibly break stuff.
the jshPinGetValue is here https://github.com/kabbi/espruino-uwatch/blob/master/targets/nrf5x/jshardware.c#L824 so check what it does line by line, something must be seriously broken if such basic method does not work.
© Espruino, powered by microcosm.
Report a problem