I2C2.setup({scl:13, sda:14, bitrate:400000}) did nothing
I don't think I2C2 is supported on Espruino since you can't have two SPI and two I2C. That's probably your issue.
Maybe just try using software I2C.
pinutils.findpin(pins, "PD30", True)["functions"]["NEGATED"]=0;
Did you make clean before rebuilding?
make clean
@Gordon 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.
I don't think I2C2 is supported on Espruino since you can't have two SPI and two I2C. That's probably your issue.
Maybe just try using software I2C.
Did you
make clean
before rebuilding?