I'm using the following code to connect a CAP1188 breakout via I2C:
https://gist.github.com/andrewn/699246123577a6e0bcbd
When sending via the WebIDE, the build-in LEDs on the breakout boards light up when the pin is touched.
When send via the CLI, this doesn't happen. The log output is in the Gist above.
I'm using the following command:
espruinotool --verbose --port /dev/cu.usbmodem1411 /Users/andrew/Projects/oss/ucl-sensors/sensorama/espruino/source.js
I'm not entirely sure where to start looking to figure out what the issue is?