You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • 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.

About

Avatar for fanoush @fanoush started