if you don't want serial console set it to EV_BLUETOOTH and comment out console pins and baud rate, if you have button BTN1 that appears to be pressed it will skip code in flash at startup, you may also post code that you are trying to run, don't see it anywhere
also you may try software i2c instead, just use i2c=new I2C() and then use i2c instead of I2C1, i2c is so simple that you won't gain that much by using hardware i2c
and btw your pd6 and pd8 pins in get_pins() in board file marked as adc make little sense, on nrf52 only those specific 8 pins can do adc as preset by default
My apologizes, I was rushing it in desparation. I've stripped evrything down to minimum, https://pastebin.com/A19GtGvW
Everything runs fine, except that I2C is still not working.
© Espruino, powered by microcosm.
Report a problem